- Home /
Question by
LowZhuang · Jan 24, 2019 at 02:12 PM ·
performance optimizationscene-switchingdestroygameobject
Destroy GameObjects before going to another scene to save Memory? Increase Performance?
Hey guys, was wondering if it is a good practice to destroy game objects in Scene A (which will never be visited after) before going into Scene B to save space/memory/increase performance?
Or should I just leave it as it is?
Any information provided would be greatly appreciated!
Comment
Best Answer
Answer by tormentoarmagedoom · Jan 24, 2019 at 02:43 PM
Good day.
When you change scene using LoadScene(), all objects are destroyed...
So, no, does not increase performance. Bye.