- Home /
many prefabs. application Performance
Hi, I am developing for mobile. I have a question. If I have about 200 prefabs in my assets folder, and in every scene there are 10 prefabs. In the performance of my application? 200 prefabs influence even if not loaded in the scene?
thanks
Are you asking if it will give performance hit just to have the prefabs in the project, but not loaded. Or are you saying you are seeing a performance hit? I dont think there will be, but not sure.
yes, if it will give performance hit just to have the prefabs in the project. and want to know if the prefabs in the folder. Do these affect performance or just in the size of the application?
Answer by illinar · Jul 28, 2013 at 01:32 PM
Only those prefabs are loaded into memory that are referenced in the current scene. Also if prefabs are not used anywhere in any scene in your build, they will not be included in the build.
Only those prefabs are loaded into memory that are referenced in the current scene. Also if prefabs are not used anywhere in any scene in your build, they will not be included in the build.
--> Your answer is clear.
But I have one more question about this?
When I reuse only one prefab XXX in many scene, my application' size( $$anonymous$$B) will be increased acording to the times I use prefab XXX?
Your answer
Follow this Question
Related Questions
Levels: scenes or GameObjects? 3 Answers
Are the prefabs stored in RAM or in the Hard disk? 0 Answers
Best Performance for Background Movement 1 Answer
Unity performance issues. 0 Answers
Transparency issue on iOS 1 Answer