- Home /
GameObject Static & Active Flags
If I have game objects marked as static, and I activate/deactivate them, will that incur a performance hit or any other weirdness? Say the object, in addition to being marked as static, has a static collider. Will activating/deactivating it cause the list of physics objects to be rebuilt (incurring a performance hit) or is Unity built to do this sort of thing?
I've been wondering this exact same thing recently and have up-voted your question.
Answer by TuesdayNinja · May 23, 2013 at 03:42 PM
You'll definitely incur a performance hit if you're using static batching and you turn it off. Depending on your number of objects, your draw calls will go up.
Your answer
![](https://koobas.hobune.stream/wayback/20220613085331im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
What do the "active" and "static" checkboxes do? 1 Answer
Turning off rigidbody without turning the entire object inactive? 1 Answer
Attaching GameObject and ParticleSystem to C# script 1 Answer
Deactivate an object - and all scripts in that object deactivated? 1 Answer
Determine object hitting a static collider at update() 1 Answer