Instance Sync Problem

Posted by sneakyblobfish
When a player joins the server he can't see the instances that were already created. The other players that were on the server when they were created can still see them and interact with them.

How do I fix this?

Replies (3)

Last message on 22 Jun 2016

Size43 (Administrator) on 15 Jun 2016, 10:35:00
Instances are re-synced every time you change room. You might have to add a small delay between logging in and moving to the room containing the instances.

Also note that this only applies to instances synced with the is_full flag. is_onetime / is_extended instances will not be sent to other client when they log in, since this is not possible.
sneakyblobfish (Topicstarter) on 16 Jun 2016, 16:51:42
I can't use is_full because I need a lot of instances. Is there a way to sync all of the instances when someone joins while using is_extended?
Size43 (Administrator) on 22 Jun 2016, 14:04:47
You'd have to implement your own system using the p2p messages. With is_onetime / is_extended, the server does not keep track of the instance at all , so it literally cannot send the instances to a newly joined player.