- Home /
What is Loading.LoadFileHeaders ?
Hello,
I'm actually optimising a game for Android and I'm looking for every FPS I can find.
Basically I'm regularly activating GameObjects that have a large (100+) number of children each throught a Coroutine, everytime I do so I get a spike in the profiler. Upon closer inspection, the method that costs the most is Loading.LoadFileHeaders who is called by Loading.ReadObject which itself is called by GameObject.Activate.
Any pointers on what I can do to reduce the cost ?
Answer by NinjaISV · Jan 13, 2016 at 01:29 AM
I know this is very old but some people may still find this useful. GameObject.SetActive (value) can cause huge spikes in performance. Instead, try doing this:
Your answer
Follow this Question
Related Questions
Webplayer loading screen 1 Answer
Temporary textures or Materials in Editor removed in build 1 Answer
Creating a Circle Loader 1 Answer
How do Unity manage loading with inspector linkage? 0 Answers
How to safely stop an AssetBundleRequest 0 Answers