- Home /
NetworkLobbyManager causes iOS builds to crash
If I load a scene that contains an object with a NetworkLobbyManager component (either the "original" one or a class which inherits from NetworkLobbyManager), it causes my iOS builds to crash on startup with the following output:
Although it crashes at GetIIMGUI(), disabling the Lobby GUI and removing the NetworkManagerHUD component doesn't change anything. I am using Unity 5.2.3f1 and the IL2CPP backend. Standalone and Android export works fine, WebGL however crashes at the same point. Is this a bug in my Unity version or a common error?
Answer by metalkat · Jan 03, 2016 at 07:55 PM
Dont strip the engine code when building on iOS, this causes this crash, at least that was for me.
When using IL2CPP, there doesn't seem to be an option to disable stripping. Also, I can't build it when I use $$anonymous$$ono with disabled stripping.
I would switch to $$anonymous$$ono and disable the stripping AND go back to IL2CPP and disable it too there (image), just to be sure, (since I read somewere that sometimes that was an issue)
Your answer
Follow this Question
Related Questions
Unity 5.0.2 iOS IL2CPP Networking RPC Issues 1 Answer
iOS IL2CPP Networking Issues Unity 5.0.x 3 Answers
.net socket disconnection exception 0 Answers
networkview + GUI 2 Answers
Text object can't be searched for with GameObject.Find 3 Answers