I have developed a Game for Android and iOS with Unity 4.6.8, the name of game is 'CilyCube'.
CilyCube on Unity Editor work well, CilyCube for Android and for iOS 32Bit (ex. iPhone 4s) work well, but for iOS 64Bit (ex. iPhone 5s) it freezes for some second (3/5 seconds) and then returns to work without problems. Obviously after a few seconds it still freezes and so on.
The game freezes almost always in a certain range of scenes.
Example: divide the scene in zone A and zone B:
- in zone A the game freezes once/100
- in zone B the game freezes 90/100
When the game freezes there is not exception, or other error.
The scripts of the game are the same for Android and for iOS (32bit / 64bit).
So I'm thinking that it is a problem that affects IL2CPP.
I do not think the problem is the graphics, or sound because otherwise it would not work properly even on iOS 32Bit. Or am I wrong?
These are days that I try to understand where it comes from the problem but I can not find a solution.
I also tried to control through Profiler Unity and through Xcode debugger.
I will link the screenshots I did.
Xcode CPU on freezes:
![xcode][1]
Profiler on freezes:
![profiler freeze][2]
Profiler on freezes (this happens a few times)
[Profiler 2][3]
Profiler on freezes (Other freezes)
[Pofiler 3][4]
Profiler on iOS 32Bit
[Profiler - CilyCube on iOS 32bit][5]
Sorry for all of these images, but I wanted to be as clear as possible.
I hope someone can help me, thanks in advance.
[1]: /storage/temp/55663-xcode-grap.png
[2]: /storage/temp/55664-overhead-9000.png
[3]: http://postimg.org/image/3yw75qev9/
[4]: http://postimg.org/image/5nm4em12n/
[5]: http://postimg.org/image/vkatsxjwt/
↧