- Home /
Memory Leak in Unity Editor while building project for Android and iOS platform [Problem with Editor]
1. Environment: # Unity Editor Version: PRO Version 2019.2.21f1 # OS : Mac OS Catalina 10.15.4 # Machine Config: MacBook Pro (Retina, 15-inch, Mid 2015), 2.2 GHZ intel i7, 16 GB RAM
2. What happened: # When I started building a project for any platform (Android/iOS) with 345 scenes in build setting unity Editor became unresponsive after building around 320 scenes and taking around 14 GB of RAM # When I remove additional 15 Scene and build with 320 scenes everything works fine still Unity software consuming around 12 GB memory. # Project working absulately fine on same machine with same source code on Mac OS Catalina 10.15.3 # Issue started since I upgraded the MAC OS to 1.15.4 from 1.15.3
3. Various fixes I've tried: # Disabled realtime / Mixed Lighting (as shown in screenshot) # Tried with new versions of Unity (2019.3.13) # Deleted / Reinstalled Unity # Reimport / Reinstalled all assets / libraries
4. How we can reproduce it using the example you attached # Start building any project on MAC OS 1.15.4 with Unity version 2019.2.21f1, you will observe additional memory usage
5. Note: Issue was not there on MAC OS 1.15.3 Issue is not with Unity version 2019.3.13 (But I cant upgrade Unity now, because of team of 9 people working from home in lockdown and dont have sufficiant internet bandwidth)
Your answer

Follow this Question
Related Questions
"Real Memory" isn't freed when changing scene on iOS 3 Answers
Unload Assetbundle 0 Answers
Memory Leaks only with an enabled Camera GameObject 1 Answer
Unity using too much memory on mac 0 Answers
Unity2019.2.1f1 Heap Memory leak 2 Answers