Hi all, currently I'm working on update for my old game. Previously I compiled it with Unity 5.0.x with Mono2x and all was good. Currently I'm trying to compile it with Unity 5.3.4f1 with IL2CPP (iOS Universal Architecture) and at run-time I'm getting 2 errors:
NullReferenceException: A null value was found where an object instance was required.
at PauseMenu.endGameButtonClick () [0x00000] in :0
(Filename: currently not available on il2cpp Line: -1)
NullReferenceException: A null value was found where an object instance
was required.
at PlayerController..ctor () [0x00000] in :0
(Filename: currently not available on il2cpp Line: -1)
NullReferenceException: A null value was found where an object instance was required.
at PlayerController..ctor () [0x00000] in :0
(Filename: currently not available on il2cpp Line: -1)
PauseMenu.endGameButtonClick references to button's click callback, and I don't call it at all (If I delete this function I got another similar error, references to another button callback from this PauseMenu C# script)
Second error logs at every frame update (I have tried to delete Update and FixedUpdate from my PlayerController, but this was not help)
Meanwhile I made Android build with Mono2x and it working good.
↧