I am a newbie and following the 'Getting Started with Unity' tutorial. I have created and textured a terrain and then skipped ahead and created the first person controller. Game runs fine in Unity and I can move around,
When I build & run on my ipod I get the unity logo on my touch and then xcode, in the code below the last line 'UnityInitApplication(appPath);' returns EXC_BAD_ACCESS and breaks in the ide. Hovering over (appPath) in the ide shows a path in there.
Smells like a project setup or something error'd out issue. What might be causing this?
-
(void) startUnity:(UIApplication*)application {
if ENABLE_INTERNAL_PROFILER
GC_notify_event = (void*)gccallback;
endif
char const* appPath = [[[NSBundle mainBundle] bundlePath]UTF8String]; UnityInitApplication(appPath);