Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Enter the 2020.2 Beta Sweepstakes for a chance to win an Oculus Quest 2.
    Dismiss Notice

Resolved [REGRESSION] profiler tooltips no longer appear during playback

Discussion in '2020.2 Beta' started by laurentlavigne, Sep 24, 2020.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,837
    upload_2020-9-24_1-23-37.png
    that one used to show up during play back in 2018 or 2017
    no more
     
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    939
    This is not a Profiler specific behavior, it's the same for all tooltips. Not sure if this was changed with the theming update in 2019.3 bit could well be. It's essentially an optimization.
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,837
    Yeah avoid these types of optimizations: they're impede our workflow
     
  4. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    5,233
    I reported this issue a while ago as:
    (Case 1252195) [Tooltip] not working during playmode

    ... which was closed with the following note:
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,837
    It seems like an odd excuse all of a sudden worrying about IMGUI contamination after 10 years of it being borked and us being familiar enough to fix that (by instantiating guistyle etc...).

    To me this is endemic of a development structure which has no production background and therefore makes decisions arbitrarily without knowing what to prioritize.

    Unity, a good rule of thumb is don't break-change things that aren't broken and prioritize our convenience. The same way we prioritize the player's convenience and don't break-change GUI in update.
     
  6. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,179
    @Peter77 i'll have my team take a look to come up with a more detailed answer. I'm not promising we will fix it (maybe disabling it when in play mode fixed a larger issue) but we will at least get to the bottom of why the change happened in the first place.
     
  7. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,179
    @laurentlavigne (or anyone really) Could you provide more details on which tooltip went missing? Me and my team both validated the sample project and tooltips do not show up in playmode as far back as 5.4. Is there a specific profiler tooltip that is no longer visible? Or is it more of a general bug that you'd like us to look into.
     
  8. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,837
    The warning in the GPU profiler. In 2020.1.6 it shows up the reason why the graph doesn't appear when hovering on the yellow warning. Not in 2020.2.
     
  9. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,179
    Unfortunately I can't reproduce that result. For me that warning icon doesnt display a tooltip during playmode in any version, (tested 2017, 2018, 2019, 2020.1.4 (didnt have .6), 2020.2). The warning icon moves between versions (its at the bottom in some) but it never displays a warning during playmode though it will if the game is paused. I'm not sure how to proceed when we can't even reproduce a positive result in any version
     
  10. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    3,837
    you are right it is not a regression.
    I know why I got confused: I was running the profiler attached to a process and since the editor is not in play mode it shows tooltips

    sorry for the douchy comment in #5 - love you guys
     

    Attached Files:

    LeonhardP likes this.
  11. phil-Unity

    phil-Unity

    Unity UI Lead Developer Unity Technologies

    Joined:
    Nov 23, 2012
    Posts:
    1,179
    Not a problem glad you found what it was.

    Now i'm not saying the implementation of no tooltip while in play mode is a good one but UIToolkit is the way forward for the editor so something we should be able to resolve hopefully.
     
    LeonhardP likes this.
unityunity