- Home /
Question by
Uberhasung · Jan 18, 2016 at 02:14 PM ·
gameobjectstartmemory management
Game crashes on start due to large gameObject
I'm currently working on an open world game. My game runs fine in the editor,but when i build it,it cashes . I have found the source of the problem to be two very large gameObjects (which contain around a thousand other gameObjects with meshes ,colliders ,scripts etc) which make the system run out of memory. Is there any way i could load this objects later so they dont consume all the memory at start?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612060637im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I get every other GameObject except for the one I'm using? 1 Answer
Unity hangs on start when finding gameobject 0 Answers
Initialising List array for use in a custom Editor 1 Answer
If a script is attached to more than one gameObject, will Start() & Awake() run more than once? 2 Answers
Dictionary within a dictionary? 1 Answer