Startup.blend in new builds doesn't preserve theme nor add-on settings with factory reset

I’ve been working on compiling 2.8 but have found a few issues when trying to modify and recompile new startup defaults to change or improve a factory settings reset.

  • Theme doesn’t preserve
  • Add-on settings don’t preserve
  • with heavy modifications to workspaces, I get all out crashes

Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6FE602DF4

or

Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF7BB7CD7F4

Here is an example:

Workflow

  1. Change layout, theme, hotkeys, addons
  2. save default startup file (no custom userpref
  3. Copy startup.blend to the repository //release/datafiles
  4. Build
  5. Remove old %Appdata% configs
  6. Reset to factory

Result
A. Theme is lost and addon settings also lost
B. hard crash

Where is the default blender factory settings kept?

Found that when I removed the “UV Editing” workspace, it will cause the crash.

This is caused by a layout check on factory settings reset in the versioning_defaults.c file.