Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Solved] Can't see built-in profiler in Logcat

Discussion in 'Android' started by sir_luke, Mar 2, 2015.

  1. sir_luke

    sir_luke

    Joined:
    Aug 19, 2014
    Posts:
    46
    Hi community,

    according to the documentation (http://docs.unity3d.com/Manual/iphone-InternalProfiler.html) "Unity iOS and Android contain a built in profiler. This is included in all versions of the add-ons, and is not a Pro feature. (Pro add-ons do contain a more advanced profiler, however.)"

    So I made a development build, started the ADB server and filtered the massages with the command $ adb logcat -s Unity: I can see lot of useful messages, including my Debug.Log calls, but I can't figure out how to show the render information about draw-calls, tris, verts and so on as described in the documentation previously linked... Am I missing some information or have I overlooked some player preference?
     
  2. sir_luke

    sir_luke

    Joined:
    Aug 19, 2014
    Posts:
    46
    Ok, maybe I was blind yesterday, I don't know, but today I saw the option "Enable internal profiler" among the Optimization settings in the Android player... Now I see all the internal profiler information in logcat output.
     
    Nicolas1212 likes this.
  3. Sparrowfc

    Sparrowfc

    Joined:
    Jan 31, 2013
    Posts:
    100
    Thanks, that's really helpful!
     
  4. burkedrane

    burkedrane

    Joined:
    Jul 9, 2013
    Posts:
    8
    On 5.2.2p2, I have enableInternalProfiler flagged, as well as the Development build flag. I do not see the built-in profiles in the logcat
     
  5. Sparrowfc

    Sparrowfc

    Joined:
    Jan 31, 2013
    Posts:
    100
    I've met the situation where some android dev just dont log anything. try another dev