|
My app runs ok using Unity Remote, but when I build and install and run on my device, it hangs when entering the level. I could probably figure out what's hanging if I could read the log file I've known and loved (the output_log.txt found in the _data folder on PC). Is there such a thing on iPhone/iPod? If so how would I be able to read it? Or is this in XCode somewhere?
(comments are locked)
|
|
If you're launching the game from XCode with the device attached to the computer, you can bring up the console using Command + Shift + R which will have a realtime debug output. All your calls to Debug.Log() will appear here, along with any NSLog() or printf_console() commands entered in your Objective C code. Dreamora also says: xcode -> window -> organizer console & crash logs the console will show basically the same thing as the debugger console if you started it from xcode on your device so no need to go the complicated way. though if it just crashes and otherwise works chances are there that: 1. you have a thumb library present in a unity iphone 1.6+ project (in this case it crashes right after the startup screen)
Jul 29 '10 at 11:58 PM
DaveA
@James Murchison, This works for me on iOS 5 but no on iOS 6. iOS 5 have logs on both xcode and device console. But iOS 6 only have it on xcode but not on device console. Can you confirm that it also works for you on iOS 6 as well? Thanks.
Nov 22 '12 at 08:51 AM
zenubis
I'm having the same issue. I get NSLog output in the Organizer -> Device Console window, but I don't get Debug.Log, LogWarning, etc. These do show up in xcode if I run from there. As a work around, I will just create an interface method in Obj C to call NSLog from Unity script.
Apr 04 at 02:05 AM
supernat
(comments are locked)
|
