Search Unity

Bug Diagnostic switches are active (ProfileOpenCLJobs)

Discussion in 'Editor & General Support' started by Thanitsak, Oct 28, 2022.

  1. Thanitsak

    Thanitsak

    Joined:
    Jan 4, 2016
    Posts:
    116
    I got a warning that is unclearable and it just stuck there forever unless restart Unity. When I enter play mode it just pop up more and more, so annoying lol. Alos I have never ever modify any preferences settings at all! It is under Unity -> Preferences... -> Diagnostics -> Editor -> ProfileOpenCLJobs. for me it set to false, I wonder what is it for you guys? If I changed to true the warning just go away, but I think it might effect the performance so what should be the correct way to fix this? Thanks!

    Full warning description is
    "
    Diagnostic switches are active and may impact performance or degrade your user experience. Switches can be configured through the Diagnostics section in the Preferences window.
    ProfileOpenCLJobs: False
    "
     
  2. Thanitsak

    Thanitsak

    Joined:
    Jan 4, 2016
    Posts:
    116
    Anyone face this annoying warning?
     
  3. Alex-Thibodeau

    Alex-Thibodeau

    Unity Technologies

    Joined:
    Apr 18, 2013
    Posts:
    27
    ow3n, squigglebucket, ilmario and 2 others like this.
  4. Thanitsak

    Thanitsak

    Joined:
    Jan 4, 2016
    Posts:
    116
    Thank you! @Alex-Thibodeau I have no idea how did it change 'ProfileOpenCLJobs' to 'false'. It's now fixed by reset it back to 'ture' as default state I guess? This confused me on how and when did it change to false and for what reason...
     
  5. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    Super annoying.
    Unity 2022.3.5f1, Mac OS.

    Any quick 2 words explanation to get ride of this?
    The toggle is already set to False.
    Restarted Unity several times and won't do a thing.

    That https://docs.unity3d.com/Manual/Preferences.html#diagnostics url says a lot, but doesn't fix the issue straight.
     

    Attached Files:

    reezoo-weplay-unity likes this.
  6. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,734
    In short :

    1. Close Unity
    2. Use the following command in Terminal :

    /Applications/Unity/Hub/Editor/2022.3.5f1/Unity.app/Contents/MacOS/Unity -projectPath 'ProjectPath' --reset-diagnostic-switches

    Note : Replace the red label with your own settings.
     
    Thanitsak, xinatcg, iPhr3ak and 11 others like this.
  7. Dennis_eA

    Dennis_eA

    Joined:
    Jan 17, 2011
    Posts:
    380
    For you and everyone else coming here from a Google search

    I just did a full reset on my M1, installed home-brew git lfs etc.. Clean machine, then installed Unity.
    This error appeared for me on 2022.3.0 LFS (silicon) out of nowhere. Will also "reset" to true.

    Hopefully it will be fixed (maybe it already is in later versions)
     
    wetcircuit likes this.
  8. Dom3D

    Dom3D

    Joined:
    Dec 19, 2012
    Posts:
    21
    Thanks, Sama-Van. That worked for me. I am on M1 as well.
    The application path is slightly different for me though: /Applications/Unity/2022.2.0f1/Unity.app/Contents/MacOS/Unity