decentraland / decentraland/unity-explorer
[QA] Ban | User unable to teleport after being banned from a scene
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
### 🛠️ **Build version:**
v0.147.0
### 📔 **Issue Description:**
After being banned from a scene, the affected user can only teleport successfully once or twice before getting stuck. Subsequent teleport attempts fail silently and a `CrdtEcsBridge` duplicate key error appears in the chat.
📝 LOGS:
[Player-prev.log](https://github.com/user-attachments/files/27808485/Player-prev.log)
[Player (1).log](https://github.com/user-attachments/files/27808484/Player.1.log)
[Player.log](https://github.com/user-attachments/files/27808486/Player.log)
### 👣 **STR:**
1. Launch the app with two accounts (User A and User B) in the same scene
2. User A bans User B from the scene using the Admin Tool
3. Observe that User B's scene disappears, is no longer visible to other participants and their chat messages are not visible
4. User B attempts to teleport to any other location (Genesis City or Worlds)
5. Observe User B gets stuck and cannot teleport further — error message appears in chat
6. If the issue doesn't occur on the first teleport, keep teleporting — the error appears by the 2nd or 3rd attempt
### ✔️ **Expected Result:**
After being banned from a scene, the user should be able to teleport freely to other locations without any errors or getting stuck.
### ❌ **Actual Result with evidence:**
User gets stuck after 1-3 teleport attempts following a ban. A `CrdtEcsBridge` duplicate key error appears in the chat: `An item with the same key has already been added. Key: CrdtEcsBridge.JsModulesImplementation.Communications.SceneCommunicationPipe+SubscriberKey`. Screenshot attached.
https://github.com/user-attachments/assets/28597ea6-e51c-4462-a0c7-e0e4883f3a5e
### ➗ **Reproduction:**
🔁 Always - (User gets stuck within the first 1-3 teleport attempts after being banned)
#### 🖥️ **Operative system and additional Notes:**
Reproduced on Windows only — could not reproduce on Mac with the same banned user.
Contributor guide
Assessment
This issue has not been assessed yet.