Maniphest T101762

Blender Mac update doens't copy user settings from previous version
Closed, Archived

Assigned To
None
Authored By
Sander (Sworly)
Oct 12 2022, 9:01 AM
Tags
  • BF Blender
  • Platform: macOS
Subscribers
Germano Cavalcante (mano-wii)
Omar Emara (OmarSquircleArt)
Sander (Sworly)

Description

System Information
Operating system: macOS-12.6-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Apple 4.1 Metal - 76.3

Blender Version
Broken: version: 3.3.1, branch: master, commit date: 2022-10-04 18:35, hash: rBb292cfe5a936
Worked: not sure, but works fine on Intel Mac

Short description of error
When installing minor updates like 3.3.1 on top of 3.3.0 on M1 Mac, some user settings aren't copied over: the "new file" settings are reset to the default and activated add-ons need to be activated again. For me, that's "Advanced Ocean Modifier" and "Physical Starlight And Atmosphere", both installed as zip. On Intel Mac (my other computer), the default file seems to get copied to the updated version and the same add-ons are activated on old and new install. I've seen this with previous 3.X updates as well.

Exact steps for others to reproduce the error
In Blender 3.3.0 on Apple Silicon, change the default file, for instance by deleting the default cube and removing a few workspaces. Save this as the new default file. Optionally activate a few extra add-ons. Quit and install Blender 3.3.1. On open, you'll see that the new file is the default again and the add-ons you activated aren't activated in the new version.

Related Objects

Mentioned Here
M1: Bevel Tool Toolbar Layout - Multiple Overflow Popovers

Event Timeline

Sander (Sworly) created this task.Oct 12 2022, 9:01 AM
Omar Emara (OmarSquircleArt) changed the task status from Needs Triage to Needs Information from User.Oct 12 2022, 9:51 AM
Omar Emara (OmarSquircleArt) added a project: Platform: macOS.
Omar Emara (OmarSquircleArt) added a subscriber: Omar Emara (OmarSquircleArt).

As far as I can tell, minor versions share the same config path, so 3.3.1 should use the 3.3 config directory.
Does opening 3.3.0 again after installing 3.3.1 suffer from the same issue?

Sander (Sworly) added a comment.Oct 12 2022, 9:56 AM

No: I used 3.3.0 to check which adding I had activated, so I could enable them in 3.3.1.

I did rename the old and new application name on the computer before launching the update, so I could store them next to each other in the Applications folder. Does that influence finding the config path?

You can leave this bug open if you can’t confirm, I’ll check again with the 3.3.2 or 3.4 update.

Omar Emara (OmarSquircleArt) added a comment.Oct 12 2022, 10:05 AM

I assume you meant you renamed the executable or a link to it. In that case, it shouldn't make a difference.
Can you open the Blender python console in both 3.3.0 and 3.3.1 and tell us what the output of executing bpy.utils.resource_path('USER') is?

Sander (Sworly) added a comment.Oct 12 2022, 10:15 AM

The result of bpy.utils.resource_path('USER') is the same for both: '/Users/XXXXXXXXX/Library/Application Support/Blender/3.3'

Omar Emara (OmarSquircleArt) changed the task status from Needs Information from User to Needs Triage.Oct 12 2022, 10:23 AM

This is the result I expect. But I don't understand how both have the same config but different preferences and startup files.

Sander (Sworly) added a comment.Dec 16 2022, 2:55 PM

Update: I installed newly released Blender 3.4 and my preferences are not transferred again. I reopened 3.1.1 and those preferences were as I remember.

Attached a screenshot: 3.1.1 on the left, with addons section visible. Blender 3.4 on the right, where activated addons from 3.1.1 are not present.

You can see that the bpy.utils.resource_path('USER') is different!

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Needs Information from User.Dec 16 2022, 7:43 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

3.4 has different settings than 3.3.
Possibly you forgot to select the Load 3.3 Settings option when you loaded the new version for the first time:

But you can still copy those settings:

  • Navigate to Users/*USERNAME*/Library/Application Support/Blender
  • Open the older version folder with desired settings
  • Open /config
  • Copy userpref.blend
  • Navigate back two steps to the /Blender folder
  • Open the new version folder
  • Open /config
  • Paste userpref.blend, overwriting existing .blend file

The original issue mentioned 3.3.0 and 3.3.1 which is actually odd since they share the same directory.
But with no clear steps on how we can replicate the problem, and with bpy.utils.resource_path('USER') reporting the expected directory, it gets harder to identify what is causing it :\

Sander (Sworly) added a comment.Dec 17 2022, 3:26 PM

I was not presented with the "Load 3.3 Settings" option, possibly because I launched the new version by "open with"ing a .blend file in MacOS Finder.
→ Shouldn't this dialog also be shown when you launch an update by opening a file?

I was able to migrate settings manually but still consider this a feature that can be improved, no?

Germano Cavalcante (mano-wii) closed this task as Archived.Dec 19 2022, 7:00 PM

Thanks for the report, but since we haven't been able to replicate and figure out what causes the problem, I feel like there's not much more we can do here.

In T101762#1462200, @Sander (Sworly) wrote:

I was able to migrate settings manually but still consider this a feature that can be improved, no?

As this tracker is overloaded with bug reports, feature requests are no longer accepted.

For user requests and feedback, please use other channels: https://wiki.blender.org/wiki/Communication/Contact#User_Feedback_and_Requests

For more information on why this isn't considered a bug, visit: https://wiki.blender.org/wiki/Reference/Not_a_bug