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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Weird profiler results (on Android)

Discussion in '5.5 Beta' started by liortal, Sep 13, 2016.

  1. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,532
    I am running the game with the profiler attached (On an Android device - Samsung T350).
    The results are not clear (see the screenshot attached).
    upload_2016-9-13_17-38-9.png
    It seems that Loading.ReadObject is reported under Camera.Render (??)

    Also, Loading.ReadObject doesn't show any of the loaded object names (regression?) upload_2016-9-13_17-39-49.png
     
  2. Kim-Riber

    Kim-Riber

    Unity Technologies

    Joined:
    Feb 25, 2011
    Posts:
    25
    Hi.

    The reason you might see loading happening under render, is that an asset is referenced for the first time, and is getting loaded because of this de-reference. This is mainly happening for shaders. In Player settings, there is an option to preload shaders, and there is also an option to specify other assets that should be preploaded.

    On devices we don't report the object names, as they get recorded by instance ID (and these are not matching in the editor). We have on the roadmap to find a solution for this.

    Cheers
    Kim
     
  3. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,532
    Do you have any suggestions for diagnosing slow loading issues ?