LoadLevel does not work on iOS devices
Hi,
I got stuck after the upgrade. I used latest Unity version 4 with Unity Script (didn’t want to upgrade to Unity 5 before releasing the game, just to avoid complications). Unfortunately I had to upgrade to iOS9 and to new xCode and xCode started getting the error. The game was built in Unity then opened in xCode, however during deployment on iPhone I started getting error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I decide to upgrade also to Unity5. Now xCode deployment to phone works however on the phone I’m not able to load another scene by clicking of GUI button or with timing, it just doesn’t load, however works in unity.
Is there something wrong with Application.LoadLevel (“NewScene"); Or perhaps something else needs to be done or done differently.
Also for some reason rotation of the object stopped working in Unity5 (even in editor)
transform.Translate(Vector3.left GameManager.speed/12 Time.deltaTime, Space.World); GetComponent.().angularVelocity = direction * 500;
Is there anything can be done to fix both issues? Or perhaps I need to downgrade to Unity 4, then how do I fix xCode error (above)?
Thank you
It could be render time. If the project has live shadows and lighting it could slow down the applications so much that load level might seem broken.
Thank you for your reply. The application is 2D and is very simple. It is techically a scene with 2 GameObjects and GUI button which suppose to load a new scene.
Answer by hexagonius · Sep 19, 2015 at 12:07 AM
linker errors usually that you're trying to access a method that the linker cannot find. missing plugin, or 64 bit incompatible code
Your answer
Follow this Question
Related Questions
how to fix countdown bug after reset level? 0 Answers
change game character/controller when inside box - RFPSP 1 Answer
How to use unity rewarded ads? 1 Answer
How can i disable/enable slowly the blur effect using the blur script ? 0 Answers
Why when i color 4 walls of a grid 10x10 it's coloring 10,9,9,8 and not 10,10,10,10 ? 0 Answers