decentraland / sdk

PM repository for SDK
Apache License 2.0
4 stars 4 forks source link

Weird error syncing smart items #1134

Open nearnshaw opened 1 month ago

nearnshaw commented 1 month ago

This can be observed in the Pirate Island scene, in a branch were we add Multiplayer components via the UI to several entities.

See the scene on this branch: https://github.com/decentraland/sdk7-goerli-plaza/tree/pirate-island-multiplayer

If I open just one tab, it all works fine

https://github.com/user-attachments/assets/01250b1e-4e69-41cd-bcee-d90f58e7df20

But if I open a second tab, and jump onto the boat suddenly another completely unrelated entity appears moving with the boat https://github.com/user-attachments/assets/ec8d21dc-12f3-480c-bde3-747fb509fca5

On the screen of the other player, the one that doesn’t jump onto the boat, the original boat doesn’t move at all. I only see the wrong entity move

https://github.com/user-attachments/assets/eaf13390-ae61-4b92-b81a-f8a95001bd61