Android Profiler running out of samples.
I can get the unity profiler mostly working with my android device. However if there is a glitch, it runs out of profiler samples and the frame is hidden, which is rather annoying. I'm not using deep profiling, and I've set maxNumberOfSamplesPerFrame to close to the maximum (8000000). Setting maxNumberOfSamplesPerFrame to -1 (dynamic allocation) doesn't seem to do anything on android.
Presumably a significant issue here is the number of calls to FixedUpdate() increases when there is a glitch.
Is there anything else I can do to fix this? Can I turn off profiling on functions I'm not interested in?
This is Unity 5.4.1f1
Comment