Instant crash for all users in world, gameobject count related
complete
E
EvolvedAnt
This bug effects Sword Art Online : Redux, and is the reason why the world hasn't been public for the past nearly 3 months, and is now understood what causes it, as written below.
All users in the entire instance of a world is crashed instantly to desktop, the crash is so bad that the log file isn't even written to, or sometimes is only half written. This occurs when someone not Owner/Master picks up any pickup object IF the world contains more than approximately 10500 +/- 500 enabled GameObjects. These gameobjects can be just empty, it does not matter.
To test this a new project was created, added few cube pickups with ObjectSync attached, then created empty gameobject and filled it with 10000 child gameobjects. In this scenario world still worked fine. Then I duplicated this parent gameobject and got total count of 20000 gameobjects on scene. After doing this I noticed:
- Long black screen when joining the world
- Picture stutters when I hovering hand over simple pickups
- Everyones game crashed when non master tries to pickup an object
Then I started disabling gameobjects by large groups and noticed when about 10250 objects left mine client stopped crashing but my friend was still crashing and when only 10050 enabled objects remained both us stopped crashing.
Another thing we reproduced is in world with 10050 objects both of us did not crash but as soon as I opened avatar menu and my friend picked up a pickup I crashed (but he did not), so my enabled gameobject count was increased when I was browsing avatars.
It can be issue with Unity GameObject.Find or something like this. Looks like VRChat checks for all gameobjects in scene hierarchy when doing certain things.
Test world ID with dummy 11000 objects that crashing both of us: wrld_d7ad91c0-1488-485e-afee-82f3c25844d4
Again, it is important to note this crash requires at least 2 people to test, the non-master needs to pick up a pickup object to trigger the crash.
Log In
Ruuubick - Designer
complete
Ruuubick - Designer
tracked
Shelfen
What this is missing is that it is marked as an issue that is being looked into, rather than being non responded by devs, brings better communication with the canny users.
Lakuza
This is happening to my world too now. Non master crashes the game when picking something up or sitting on a chair. Surprised this hasn't been addressed at all yet considering EvolvedAnt has had this issue for so long now.
E
EvolvedAnt
Also want to point out that for reference, Sword Art Online : Redux has over 16,000+ game objects and this wasn't an issue until a patch that was released sometime in April.
Onser
Although I do not yet have a VR yet. I have had the privilege of seeing the world and its was fantastic. I really hope that this bug is fixed so that when i do have a VR I'll be able to play in this amazing world!!!
Mentor Knight
Let's get this fixed, eh? Hoorah!