- Home /
Crashing on iOS il2cpp RaiseOutofMemoryException
My game keeps crashing on iOS and after symbolicating the crash file I see: il2cpp::vm::Exception::RaiseOutOfMemoryException() + ... (Exception.cpp:70)
It builds fine and Ad hoc installs on my iPhone. I have 4 scenes: Start, RewardedAds, MainGame, and GameOver. When I play it on my iPhone, the Start and RewardedAd scenes work fine but crashes shortly after loading the MainGame scene.
I don't have any crash issues on Android. I've already made my textures POT for compression.
Does anyone have experience with this type of issue? The game is small so I don't understand what the issue could be
This is c/p from the memory profiler when I run it in the Editor:
Used Total: 328.1 MB Unity: 133.8 MB Mono: 13.0 MB GfxDriver: 65.2 MB Audio: 1.9 MB Video: 0 B Profiler: 114.2 MB
Reserved Total: 503.0 MB Unity: 276.6 MB Mono: 15.2 MB GfxDriver: 65.2 MB Audio: 1.9 MB Video: 0 B Profiler: 144.0 MB
Total System Memory Usage: 1.04 GB
Textures: 3456 / 122.6 MB Meshes: 33 / 2.2 MB Materials: 67 / 105.0 KB AnimationClips: 1 / 90.0 KB AudioClips: 6 / 0.6 MB Assets: 5206 GameObjects in Scene: 34 Total Objects in Scene: 287 Total Object Count: 5493 GC Allocations per Frame: 822 / 45.0 KB
Your answer
Follow this Question
Related Questions
Appodeal Anr onAdFailedToLoad 0 Answers
why does Unity keep crashing 0 Answers
Unity editor editor keeps on crashing on startup 0 Answers
Game works fine in Unity but crashes after build 0 Answers
iOS Crash Report - NSURLConnection? 0 Answers