[SOLVED] Script loading unexpectedly on new scene

In which case, the server and client would need to be updated to have rooms created. For example the server can partition the users so that events sent to a room/party are only broadcasted to others in that room/party rather than the whole server which is what it is currently and beyond the scope of the tutorial.

The network script and other managers should then probably be in a scene that doesn’t get unloaded (eg a master scene as shown here: Game wIde Global variables best practice - #8 by Grimmy)

Thank you, that’s appreciated. Documentation is a major thing for us and been slowly getting all the issues and areas we want to tackle: Milestones - playcanvas/developer.playcanvas.com · GitHub

It’s just trying to get to it without more ‘urgent’ stuff cropping up.

1 Like