I'm trying to profile my game when it loses internet connection. I can't profile the app directly from the editor when disabling the device's wifi as it breaks the profiler's connection, so I'm trying to write the profiling info to a log file on the device for later analysis by doing:
Profiler.logFile = "mylog.log";
Profiler.enabled = true;
as per: http://docs.unity3d.com/ScriptReference/Profiler-logFile.html
However, the file is never written and logcat is spammed with this error:
E/Unity (19444): (Filename: PlatformDependent/AndroidPlayer/Source/File.cpp Line: 603)^M
E/Unity (19444): ^M
E/Unity (19444): Writing failed because the file was not opened^M
E/Unity (19444): ^M
Has anybody every encountered this issue?
Any ideas?
↧