Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity Preferences not saving, how to fix?

Discussion in 'Editor & General Support' started by Deeeds, Sep 4, 2018.

  1. Deeeds

    Deeeds

    Joined:
    Mar 15, 2018
    Posts:
    739
    On a Mac, the [command + ,] preferences, globals. Particularly the colours for the editor bothering me, they don't save, reverting to defaults each time I load Unity.

    This doesn't happen on another Mac with almost the exact same setup, only this one.

    Already checked Preferences files for permissions in the library, they're all set to read and write.

    Is there some other setting or something else I need to do to ensure that settings are saved?
     
    MorganVoodoo likes this.
  2. MorganVoodoo

    MorganVoodoo

    Joined:
    Nov 16, 2018
    Posts:
    2
    I have the exact same problem
     
    Va_Wilkerson likes this.
  3. Va_Wilkerson

    Va_Wilkerson

    Joined:
    Sep 2, 2018
    Posts:
    1
    I'm also having the problem and did a complete uninstall/reinstall. Still happening.
     
  4. superyyl

    superyyl

    Joined:
    Oct 30, 2018
    Posts:
    2
    Same problem.
    macOS10.14.2
    Unity2018.2~2018.3
     
  5. superyyl

    superyyl

    Joined:
    Oct 30, 2018
    Posts:
    2
    I resolved this problem after upgrade to 2018.3.2
     
  6. unity_K6RE9Byo6N7pFg

    unity_K6RE9Byo6N7pFg

    Joined:
    Feb 4, 2019
    Posts:
    13
    Still present on 2018.3.6f1 on MacOS 10.14.3
     
  7. unity_K6RE9Byo6N7pFg

    unity_K6RE9Byo6N7pFg

    Joined:
    Feb 4, 2019
    Posts:
    13
    nicloay likes this.
  8. nicloay

    nicloay

    Joined:
    Jul 11, 2012
    Posts:
    521
    unity_K6RE9Byo6N7pFg likes this.
  9. van800

    van800

    JetBrains Employee

    Joined:
    May 19, 2016
    Posts:
    58
  10. arrcwood

    arrcwood

    Joined:
    Sep 4, 2019
    Posts:
    4
    This is happening to me and I don't have or use Rider. I keep having to change my External Script Editor back to Visual Studio and my preferred Playmode Tint every time I open Unity.

    I just opened another project, changed those same preferences, closed it, and reopened to find that the changes were not saved. Additionally, something else that has never happened to me before was when I've added a project to the list in the Unity Hub, it wouldn't replace the project that was already there. I only had one project on the list, then tried to add another, but it replaced it instead.

    I'm using a Mac with:
    Big Sur 11.0.1
    Unity 2019.4.20f1 LTS
    Unity Hub 2.4.2
     
  11. MostHated

    MostHated

    Joined:
    Nov 29, 2015
    Posts:
    1,190
    This is happening for me on Linux (Pop_OS 20.10), though, I do use Rider. I have to keep changing from VS Code to Rider and various other settings each time I open any project.
     
  12. eislerbfg

    eislerbfg

    Joined:
    Mar 30, 2021
    Posts:
    1
    I'm having this issue on Mac with:
    Catalina 10.15.7
    Unity 2019.4.16f1
    Rider 203.7717.10
     
  13. mdelally

    mdelally

    Joined:
    Aug 23, 2014
    Posts:
    1
    I was having this issue on Windows 10 with Unity 2021.1.5f1.

    I was able to resolve this problem by ensuring that only the Visual Studio Editor package was installed. I had to remove Visual Studio Code Editor from the Package Manager.

    It's not definitive, but it seems like having any combination of code editor package installed VS/Rider or VS/VSCode, etc. is causing this misbehavior.

    Hope this helps!
     
  14. zaxvax

    zaxvax

    Joined:
    Jun 9, 2012
    Posts:
    220
    I second that. 2021.1.6f1 has the same behaviour. It reverts back to "by file extension"
    I managed to deal with it by closing Unity while "preferences" window was still open. That saved Visual Studio as default editor for good.
     
  15. DaleB4

    DaleB4

    Joined:
    Aug 28, 2020
    Posts:
    1
    Thanks. Your suggestion did the trick.
     
    caiovsreboucas likes this.
  16. syscrusher

    syscrusher

    Joined:
    Jul 4, 2015
    Posts:
    1,104
    I had this same problem with Unity 2021.1.19f1, and closing Unity with the prefs window open did *not* fix it for me. The problem went away after upgrading JetBrains Rider a few days ago (circa Oct. 2). I don't have the version number handy right now, but it was the latest as of that date.
     
  17. Danelle_F

    Danelle_F

    Joined:
    Jul 8, 2022
    Posts:
    1
    I've been having the same issue in 2021.3.4f1, and it was creating a LOT of problems as I was trying to work through a list of various tutorials. This seems to have worked for me.
     
  18. SoaranAkantor

    SoaranAkantor

    Joined:
    Apr 2, 2013
    Posts:
    1
    Seconding this, can confirm this works. I have both Visual Studio and Visual Studio Code installed.
     
  19. starock2020

    starock2020

    Joined:
    Sep 14, 2020
    Posts:
    54
    Win10, Unity2021.3.11f1. Same issue.
    My solution: remove VS Code Editor & VS.net Editor in package manager.
     
  20. AlTheSlacker

    AlTheSlacker

    Joined:
    Jun 12, 2017
    Posts:
    326
    Here we are, end of 2022 and the same problem is here from over a year ago. Remove VSC and Rider plugins to fix.
     
  21. redcurrantsjam

    redcurrantsjam

    Joined:
    Nov 21, 2022
    Posts:
    4
    By making sure that only the Visual Studio Editor package was installed, I was able to solve this issue. The Visual Studio Code Editor had to be taken out of the package manager.
     
  22. caiovsreboucas

    caiovsreboucas

    Joined:
    Nov 27, 2022
    Posts:
    1
    wtf just worked here
     
  23. Flecheverte

    Flecheverte

    Joined:
    Nov 23, 2015
    Posts:
    1
    Yes, closing Unity 2022.2 while the preference window is open finally save Visual Studio.
    Weird, but it works.