decentraland / decentraland/unity-explorer
[QA] Nearby Chat | Messages Persist After Teleport
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 94
Description
### 🛠️ **Build version:**
- `v0.130.0`
- `v0.152.0-alpha-main`
### 📔 **Issue Description:**
The **Nearby Chat** continues receiving and sending messages from a previous high-population location (e.g., Genesis Plaza) even after teleporting to a different location (another scene or a World).
Expected behavior is that Nearby Chat only includes users physically close to the player.
Observed behavior:
- After teleporting away from **Genesis Plaza**, I continue receiving messages from users who are still there.
- The **Nearby counter** still shows users from Genesis Plaza.
- Messages I send from a different location (where there are no users nearby) are still received by users in Genesis Plaza.
- This occurs even when the current location has zero nearby users.
📝 LOGS: [Player.log](https://github.com/user-attachments/files/25742337/Player.log)
### 👣 **STR (No Clear Deterministic STR – Intermittent):**
1. Go to **Genesis Plaza** (high population).
2. Teleport to another location:
- Another scene in Genesis City, or
- A World.
3. Observe Nearby Chat behavior.
4. Send messages from the new location.
### ✔️ **Expected Result:**
- Nearby Chat should update to only include users physically near the current location.
- If no users are nearby, Nearby should show 0.
- Messages should not be delivered cross-location.
### ❌ **Actual Result with evidence:**
- Nearby counter still shows users from Genesis Plaza.
- Messages from Genesis Plaza continue appearing after teleport.
- Messages sent from the new location are received in Genesis Plaza.
- Cross-location chat leakage between scenes/worlds.
https://github.com/user-attachments/assets/21345335-854f-49b6-bc5d-fd00f5302c62
### ➗ **Reproduction:**
⚠️ Intermittent – Approximately 2 out of 6 attempts
- Occurred with a new account.
- Also occurred with an existing account.
- Reproduced on Windows and Mac.
#### 🖥️ **Operative system and additional Notes:**
- Version: v0.130.0
- Cross-location behavior affects both Worlds and Genesis City scenes.
- Appears to be a room/session cleanup issue after teleport.
Contributor guide
Assessment
This issue has not been assessed yet.