Search Unity

After updating to the latest version, the scene window flickers.

Discussion in 'Editor & General Support' started by Evgeno, Feb 5, 2023.

  1. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57

    The problem appeared in version 2022.2.4 or 2022.2.5. This was not the case in previous versions.
     
  2. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,571
    Try resetting window layout. This sort of thing sometimes happens when camera somehow gets borked.
     
  3. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    Tried, didn't help. Could this be due to some third-party asset?
     
  4. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,571
    Yes. I would try disabling scene objects one by one and see if that fixes the flickering. Also I'd attemt to check if this thing happens with a blank project.

    It seems to be some form of z-fighting, but I'm unsure why the heck it happens in scene view.
    upload_2023-2-6_0-50-31.png
    Also you could try creating a small object and focusing on it with F key.
     
  5. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,698
    Somewhere I remember to have read to recreate your camera object (like from scratch but copy the settings over).
     
  6. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    Nothing helps, even in a completely empty scene with no objects.
    But in other projects (both new and old) there is no such problem. This is the first time I've encountered something like this.
     
  7. timsibiski

    timsibiski

    Unity Technologies

    Joined:
    Jun 3, 2021
    Posts:
    38
    Have you deleted your library folder and project settings and reopened the editor (will be a long load after deleting them)? Every camera issue I've ever encountered has been fixed by that.
     
    Evgeno likes this.
  8. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    Thanks, deleting ProjectSettings.asset helped.
     
    yangstone70 likes this.
  9. Noisecrime

    Noisecrime

    Joined:
    Apr 7, 2010
    Posts:
    2,054
    I’m increasingly seeing the suggestion to delete project settings when something breaks in the editor. While the old go to of deleting the Library folder was fine since Unity could easily regenerate it, deleting project settings would require re-applying them all by hand. This is a terrible user experience and whilst there are various strategies to reduce the amount of pain it just seems like it shouldn’t be necessary.

    Presumably if a setting is corrupt, Unity should be asking for example projects as bug reports to fix the source of the problem, but it never comes up. It’s getting to be a concern to me at least that deleting project settings is becoming a catch all fix for these problems, with no apparent effort to track down and fix the cause.
     
    vertexx and Ryiah like this.
  10. DragonCoder

    DragonCoder

    Joined:
    Jul 3, 2015
    Posts:
    1,698
    Do you use some source code management?
    A diff between the old settings file and the new one would be very interesting.
     
    Noisecrime likes this.
  11. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    No, unfortunately I don't use source code management.
     
  12. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,571
    You should learn it. People lost their projects more than once.
     
  13. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    I always make backups, but thanks for the advice, I think it's worth learning.
     
  14. Evgeno

    Evgeno

    Joined:
    Sep 8, 2014
    Posts:
    57
    I found the reason. The flicker appears when I add OpenGLES3 and put it first in the list for the Windows platform. If you remove it or move it down, the flickering stops.
     
    timsibiski and Noisecrime like this.
  15. MattInsight

    MattInsight

    Joined:
    Dec 30, 2019
    Posts:
    2
    Doing this also helped me. Win10, 2022.2.12
     
  16. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    This isn't sufficient when developing software. Specially when you are member of the Unity community since 2014.

    You should stop anything you doing with software and jump on learning principles and how to use version control like for example github. You will appreciate spending a day or so on it and will be wondering, how you could develop before without VC.
    Then move on with your software deving.
     
  17. yangstone70

    yangstone70

    Joined:
    Dec 20, 2021
    Posts:
    1
    you saved me! thanks~
     
  18. UCF10

    UCF10

    Joined:
    Jul 8, 2023
    Posts:
    1
    Thanks it worked
     
    Last edited: Jul 19, 2023
  19. dazaizone

    dazaizone

    Joined:
    Mar 6, 2020
    Posts:
    43

    having same problem, scene view in unity editor is flickering , try delete suggestion but I still have the issue. any other workarounds? thanks