Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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,562
    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,562
    Do you have any suggestions for diagnosing slow loading issues ?