Page MenuHome

fresh install of blender 2.83.0 not able to save user startup file
Closed, ResolvedPublicBUG


System Information
Operating system: Windows 10 ver 1909 and 2004, Archlinux with KDE
Graphics card: GeForce GTX 1060

Blender Version

Windows: 2.83.0 211b6c29f771, from both official website download, installer and zip version both tested. Also tested with blender-2.90.0-e079bf6996fc-windows64, still can reproduce the issue.
Archlinux: 2.83.0 211b6c29f771, package version17:2.83-1 from Archlinux official repo

Worked: (newest version of Blender that worked as expected)

Windows: 2.82a 375c7dc4caf4.

(all build hash are get from blender --version output).

Short description of error
Fresh install of blender 2.83.0 not able to save user startup file.

Exact steps for others to reproduce the error

  • Make sure your computer never run blender 2.83 before, or by remove all the files under '%APPDATA%\Blender Foundation\Blender\2.83\config\' for Windows (or '~/.config/blender/2.83/config/' for linux)
  • Open blender 2.83 by double clicking the blender.exe executable.
  • Just delete the default cube.
  • Click File>Defaults>Startup File, click Save Startup File.
  • Close the program and re-open it.
  • Check the result (the default cube is still there).

I notice that in the user config folder, there are no userpref.blend file get generated, so I checked my old blender user config folder and put the old userpref.blend file into the 2.83 user config folder, then I found that fixed this issue, the Save Startup File menu also works after that.

  • Do the above steps to reproduce the issue first.
  • Copy the working 'userpref.blend' file form my 2.82a folder '%APPDATA%\Blender Foundation\Blender\2.82\config\' (or '~/.config/blender/2.82/config/' for linux) to '%APPDATA%\Blender Foundation\Blender\2.83\config\' (or '~/.config/blender/2.83/config/').
  • Open blender 2.83, and we can see the default cube is deleted which means it's working.

Also, here is the userpref.blend file I used for the above workaround.

btw I guess it's the same issue as . @Germano Cavalcante (mano-wii)

Event Timeline

I'm sorry just test delete the 2.82a userpref.blend file and try reproduce this issue with 2.82a, I can also reproduce this issue. I guess I used to did some preference tweaks and it got userpref.blend file generated so the Save as Startup File menu is working when I was using it. I didn't have any older version installed so I cannot test if older release works.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Jun 22 2020, 3:55 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm.
The file is even saved:

Writing homefile: 'C:\Users\GERMANO\AppData\Roaming\Blender Foundation\Blender\2.83\config\startup.blend' ok

But apparently it is only read if there is a userpref.blend.

Just get the code compiled and took a quick look, and found that in wm_files.c it checks if &U.themes is empty to make sure filepath_startup is successful loaded, which caused it fall back to built-in default. In the code above that line, reading filepath_startup by calling BKE_blendfile_read() returns true but seems the themes value is not set. Haven't dive into the codebase too much so still not quite sure about what actual caused this issue. Hope that helps to the devs :)