- Home /
C# and JavaScript Unstable?
Does having a mix of scripts in an application like c# and JavaScript make it unstable? I have a scene which is purely made up of GUI scripts written in C#. If I use Application.loadLevel in the GUI to load my next scene which contains all java scripts the application closes in an iPad. This does work on an android device, and the correct scene loads.
Thanks
Answer by Bunny83 · May 14, 2012 at 10:55 AM
No, it makes no difference. As long as Unity can compile your scripts it's fine. All scripts get compiled to the same language (CIL). Mixing UnityScript and C# can cause problems if they need to interact due to visibillity, see Script Compilation Order.
So i guess there's another problem which closes / crashes your app. Have you checked the logfile for errors?
Your answer
Follow this Question
Related Questions
WebCamTexture IOS crashing? 1 Answer
FB Gift Requests not appearing as Push Notification 0 Answers
Changing view based on device 0 Answers
Web Aplication to android, ios 0 Answers
EDITED rend.material change too hard to handle for iOS 0 Answers