Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WaitForJobGroupId not visible in profiler

Discussion in 'Entity Component System' started by korzen303, Apr 15, 2018.

  1. korzen303

    korzen303

    Joined:
    Oct 2, 2012
    Posts:
    223
    Is it me only me who noticed this?
    Would be great to have waits on jobs completions presented also in the profiler (in Hierarchy mode, Timeline is fine)

    upload_2018-4-15_11-55-58.png
     
  2. korzen303

    korzen303

    Joined:
    Oct 2, 2012
    Posts:
    223
    OK, one more example. Maybe clearer than before
    SimdTest.PowJob was scheduled on the main thread. We get a valid profiler chart:
    OK.jpg

    and exactly same timing but PowJob was scheduled on the worker thread
    NotOk.jpg

    fixing this would be nice as it can be really confusing during optimization
     
  3. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,431
    Hello @korzen303,
    The underlying issue here was that any time spend in a sample that would fall into the "Other" category in the CPU Usage Chart would not be displayed unless that sample was selected. This has since been fixed, see the bug ticket for details on the versions it was fixed on.

    Btw, I just randomly found your post through Google, meaning this post was entirely lost in the gaps. Please consider using the "profiling" tag for future topics about profiling or better still, reporting a bug, so that such issues can be assessed by QA and that the teams responsible for fixing them are guaranteed to see them.