I have a game made using **unity 5** for *android and IOS device*. **Game works fine in android device**. When I run the game on **IOS device using Xcode 7.3.1**, *game runs over 4-6 minutes and then terminates automatically showing a dialog box saying* "**The app "carRacing" on iphone quit unexpectedly. Message from debugger: Terminated due to Memory Error**"
![alt text][1]
[1]: /storage/temp/79471-memoryerror.png
Although I have found similar post on this forum, but their solution did not solve my problem. I have two scenes in my game called "**menuscene**" and "**gamescene**". The error usually occured *while switching from "menu scene" to "game scene".* **My gamescene contains many 2D sprite animation.** How can I get out of this error?
↧