- Home /
IL2CPP compatibility in iOS
My game based on Physics2D has feature that playback a replay data by simulating user Input. But, In iOS enabled IL2CPP, playback does not work. It seems to have a slight deviation.
Should i report to issue tracker ? or avoid playback by simulating user Input ?
If the error only occurs with the IL2CPP scripting backend and not with the $$anonymous$$ono scripting backend, then it is likely a bug, so please submit a bug report in the editor.
Yes, it works fine with the $$anonymous$$ono scripting backend. I try to create $$anonymous$$imum project to reproduce and submit later. Thanks!
Answer by Dave-Carlile · Sep 25, 2015 at 12:28 PM
Last time I researched it, the Unity physics simulation was not guaranteed to be deterministic across devices or compilers. If anything runs in a different order on a different machine, or even the same machine, you will eventually have problems with accumulated rounding errors.
Thank you for answer. In my case using 21 rigidbodies and 1 Distance Joint, i get same result after calling FixedUpdate 16000 times on Unity Editor and Android devices. Even if not guaranteed, i will submit a report in order to obtain better results.
Your answer
Follow this Question
Related Questions
What difference IL2CPP make for native plugins? 1 Answer
AES encryption in iOS - NullReferenceException 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Crash on Prime31 Twitter login when built with il2cpp 0 Answers
"Culture name neutral is not supported" when using Parse.Unity.dll 2 Answers