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

Bug Frame debugger all over the place

Discussion in '2021.2 Beta' started by CaffeinatedCoolaid, Jun 25, 2021.

  1. CaffeinatedCoolaid

    CaffeinatedCoolaid

    Joined:
    May 10, 2021
    Posts:
    59
    The frame debugger is completely un-useable in 2021.2.
    The profiles keep jumping all over the place, if you put it in play mode and pause it it will stay but if you click on any of profiles it will completely change the whole profiling layout selecting a random one.
     
    AldeRoberge likes this.
  2. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    This is a known issue once you have some VFX Graph effects present. Disabling those would be a workaround for now. It's being fixed, but I don't recall which version the fix went in already.
     
  3. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I also have this issue with a fresh project without having VFX graph installed?
     
    homemacai likes this.
  4. Aras

    Aras

    Unity Technologies

    Joined:
    Nov 7, 2005
    Posts:
    4,770
    Then please file a bug!
     
    alexanderameye likes this.
  5. CaffeinatedCoolaid

    CaffeinatedCoolaid

    Joined:
    May 10, 2021
    Posts:
    59
    Forgot to respond to this, but yes this happens in default 2021.2 scene in URP without VFX graph. It appears to happen on and after the 'ColorGradingLut' in the profiler, also even with PostProcessing turned off the 'ColorGrading' pass is still happening which doesn't make sense to me? Filing a Bug report now
     
  6. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    Already filed one and it was a 'known issue' with a fixed being worked on :)

    https://issuetracker.unity3d.com/issues/frame-debugger-clear-events-constantly-appear-and-disappear
     
    mahdi_jeddi likes this.
  7. CaffeinatedCoolaid

    CaffeinatedCoolaid

    Joined:
    May 10, 2021
    Posts:
    59
    Hopefully soon! I have been just putting it in play mode before using the debugger and it slows down enough for me me to check some things. Unfortunately I'm pretty sure it causes some sort of memory leak because twice now I've had hard Unity crashes that required me to complete restart the computer because my graphics card would start freaking out (not editor, my OS) after the crash.. :(
     
  8. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,383
    I believe there is a memory leak yes! At some point I saw it creating temporary buffers like crazy, they mention that in the issue tracker as well. I'm just not going to open the frame debugger for now haha. Also, beta 2 just released today but I don't think I saw the fix in the release notes. Hopefully soon as you said.
     
  9. CaffeinatedCoolaid

    CaffeinatedCoolaid

    Joined:
    May 10, 2021
    Posts:
    59
    While unfortunately the lasted version that just came out did not solve the issue, in fact it is worse. Now It only will show the depth target, its becoming really hindersome :(
     
    Prodigga likes this.
  10. uwdlg

    uwdlg

    Joined:
    Jan 16, 2017
    Posts:
    150
    I'm confused, the issue says "Fixed in 2021.2.X" and the newer beta changelogs no longer mention this as a known issue, but I get the same behavior in the latest beta 2021.2.0b8 with the URP template scene...
     
  11. PutridEx

    PutridEx

    Joined:
    Feb 3, 2021
    Posts:
    1,136
    If it was mentioned as fixed in a beta changelog but still occurs in latest beta, then you should report it as a bug.
     
  12. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    The b8 release notes say:
    • Graphics: Graphics: Fix flickering events in frame debugger. (1341163)
      First seen in 2021.2.0a19.
      Fixed in 2021.2.0b9.
     
    Ruchir likes this.
  13. uwdlg

    uwdlg

    Joined:
    Jan 16, 2017
    Posts:
    150
    Okay, thanks. I looked at the changelog in the forum post and that entry isn't there, pardon my confusion. I see now that it says "Preview of ... Release Notes" on the spoiler there, my bad.
     
  14. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    Am i to understand the frame debugger wont be fixed in the 2020.3 LTS?
     
  15. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Was it broken on 2020.3 LTS? Issue report said issue couldn't be reproduced on 2020.3.
     
  16. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    Ever since we moved to 2020.3 i've been completely unable to use the Frame Debugger, instead opting to use RenderDoc, i recall seeing a bug report about it and ignored it figuring it'll get fixed eventually.

    I should not however that we are on 2020.3.11f1 not 13.f1, we will be doing an update very soon so i'm making a note to myself to try using it again and see if it's fixed in the latest version, if not i'll file a bug report myself.
     
  17. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    @JJRivers just to be clear, the reason you can't use frame debugger is because it keeps flickering different info all around it? Because that's what this issue is about. If you have some other issue, you should probably check if it's a known bug and if not, then report it somewhere.
     
  18. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    Exactly the same issue.
     
  19. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    Can you give URP / HDRP version where it does that for you?

    Edit:
    I just briefly tested this on both 2020.3.11f1 + URP 10.5.0 and 2020.3.18f1 + URP 10.6.0 and frame debugger works fine on all of those for me, none of the weirdness I saw on 2021.2.

    On 2020.3.11f1 I threw in bunch of visual effect graph effects in the template scene and everything still worked fine.
     
    Last edited: Sep 21, 2021
    LeonhardP likes this.
  20. rz_0lento

    rz_0lento

    Joined:
    Oct 8, 2013
    Posts:
    2,361
    There's always a possibility that your issue is triggered by something else so if you can repro it on latest 2020.3 version, probably worth filing that bug report with it.
     
  21. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    I'll keep your comments in mind when testing it thanks for the effort at helping to clarify things to note!
     
  22. jjxtra

    jjxtra

    Joined:
    Aug 30, 2013
    Posts:
    1,464
    If you have seizure disorder of any kind, stay clear of the frame debugger. The flickering persists in Unity 2021 through 2022.2.
     
    AldeRoberge likes this.
  23. Alekxss

    Alekxss

    Joined:
    Mar 25, 2013
    Posts:
    170
    Seems like this happens if rendered objects count changed in some of Update method (as Unity calls Update after tree item click).

    In our case we use 2 cameras to render 2 car mirrors and switch it one by one each frame for some optimization, so in update one camera disabled, another enabled, next frame its enable swapped.

    To fix need to skip any renderers count change logic if Time.deltaTime == 0
     
    crowmaster and Katkob like this.
  24. GuidewireGames

    GuidewireGames

    Joined:
    Apr 20, 2017
    Posts:
    27
    I'm in 2020.3.36 and the frame debugger seems jittery and impossible to read.