Quantcast
Channel: Questions in topic: "log"
Viewing all articles
Browse latest Browse all 235

Android profiler log file failure

$
0
0
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?

Viewing all articles
Browse latest Browse all 235

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>