unity:4.3.1, xcode:5.0.1, ipod5: ios7
My project is ok on the ipod while I didn’t select the “development build”.
But after I want to use the profiler and select “developmen build”,
I got some error and then my game stop running. It just stop on the splash image.
and the error message list below:
get_dataPath can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don’t use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
(Filename: /Applications/buildAgent/work/d3d49558e4d408f4/artifacts/iPhonePlayer-armv7Generated/UnityEngineApplication.cpp Line: 300)
Thank u for any help or any advice.