RAM Usage Spike on iOS with Network Manager Component
I’m encountering a significant issue on iOS where the RAM usage instantly jumps to 2GB when the Network Manager component is present in the scene. This happens even if the default prefabs are empty or the component is disabled.
Has anyone else experienced this, or is there a known fix? Any insights would be appreciated!
How did you measure the memory usage? Memory profiler? Xcode Instruments? What about in editor or desktop builds?
Is this 100% reproducible by adding/removing/adding/removing just the NetworkManager?
1 Like
Ah wow! It completely slipped my mind!
in XCode profiler panel
Standard usage is about 300-400mb
As soon as I Introduce Network Manager it jumps up to 2GB
In this current project it is 100% reproducible (removing it completely from the scene the RAM does not increase to 2GB)
Disabling it does not stop the increase of RAM usage
I would have to try in a fresh project to be absolutely sure
MacOS 15.1.1 (24B91)
Xcode Version 16.1 (16B40)
Unity 6000.0.28f1
Netcode for GameObjects 2.1.1