-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: this fixes issues with multi scene loading on server and client (#…
…965) * fix: This fixes issues with multi scene loading on server and client. We never checked for when clients would unload from one scene and load to another scene and do it again over and over. This causes spawned list to null itself out because of lost references. This now allows ServerObjectManager and ClientObjectManager to check for it after scene changes. * fix: stupid me did undo a test. * fix: created a new test for the method we created. Also created a new removalCollection list we can keep reusing because constantly reallocating and deallocating during scene load might be bad. Not sure if this is better or worse. * fix: james caught few gotchas. This is fix.
- Loading branch information
1 parent
f215cef
commit e725a41
Showing
4 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters