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.

Question Profiling allocation question

Discussion in 'Editor & General Support' started by Max-om, Nov 22, 2022.

  1. Max-om

    Max-om

    Joined:
    Aug 9, 2017
    Posts:
    470
    upload_2022-11-22_18-11-28.png

    I have zero alloc in the hierarchy view as you can see. But you can still see the read graph (GC Allocated in Frame) Were can I found out were this is allocated? Thanks
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,380
    If you select one of the actual frames where there was GC allocation it should show up in the hierarchy. The hierarchy is only for the single selected frame you are on (currently 2076/2076 aka the last frame in your graph).
     
  3. Max-om

    Max-om

    Joined:
    Aug 9, 2017
    Posts:
    470
    Hi sorry missed your answer if select a frame were the ghrpah shows alloc there is not alloc in that frame.
     
  4. Max-om

    Max-om

    Joined:
    Aug 9, 2017
    Posts:
    470
    Here I have the frame selected which shows a aloc spike

    upload_2022-11-25_17-11-29.png

    it says 26 / 1,7kb

    If I look at the hierarchy view for same fraem it says 0 alloc
    upload_2022-11-25_17-12-52.png
     
  5. Max-om

    Max-om

    Joined:
    Aug 9, 2017
    Posts:
    470
    I found the alloc, it seems to be some Unity backgoundthread or similar?

    upload_2022-11-25_17-33-26.png
     
    friflo likes this.