Preferences are not saved when Blender Crashes or force closed #115068

Open
opened 2023-11-17 20:37:27 +01:00 by Blaine-Cox · 2 comments

System Information
Operating system: Microsoft Windows 11 Pro, 10.0.22621 Build 22621
Graphics card: NVIDIA GeForce RTX 2070 SUPER, Driver Version 31.0.15.4617

Blender Version
Broken: version: 4.0.0, branch: blender-v4.0-release, commit date: 2023-11-13 17:26, hash: 878f71061b, type: release
Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b, type: release
Worked: Have not used a version that works yet.

When Blender crashes or is not otherwise shutdown properly, all changes to program settings are lost and revert back to the settings present when Blender was last shutdown properly.

Exact steps for others to reproduce the error

  1. Open Blender.
  2. Change a program setting (cycles render devices for example).
  3. End Blender process with task manager.
  4. Open Blender back up.
  5. Observe that setting has reverted back to its previous value.
**System Information** Operating system: Microsoft Windows 11 Pro, 10.0.22621 Build 22621 Graphics card: NVIDIA GeForce RTX 2070 SUPER, Driver Version 31.0.15.4617 **Blender Version** Broken: version: 4.0.0, branch: blender-v4.0-release, commit date: 2023-11-13 17:26, hash: 878f71061b8e, type: release Broken: version: 3.6.5, branch: blender-v3.6-release, commit date: 2023-10-16 14:30, hash: cf1e1ed46b7e, type: release Worked: Have not used a version that works yet. When Blender crashes or is not otherwise shutdown properly, all changes to program settings are lost and revert back to the settings present when Blender was last shutdown properly. **Exact steps for others to reproduce the error** 1. Open Blender. 2. Change a program setting (cycles render devices for example). 3. End Blender process with task manager. 4. Open Blender back up. 5. Observe that setting has reverted back to its previous value.
Blaine-Cox added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-11-17 20:37:28 +01:00
Author

This issue (at least an issue to me anyway) is more of an inconvenience as Blender tends to crash quite frequently on my system for some reason and so began noticing this.

This issue (at least an issue to me anyway) is more of an inconvenience as Blender tends to crash quite frequently on my system for some reason and so began noticing this.
Blaine-Cox changed title from Settings Lost if Blender Crashes to Program Settings Lost if Blender Crashes 2023-11-17 20:58:08 +01:00
Member

Thanks for the report. Can confirm. This may be expected because changes done in .blend file are not saved either. In case of crash and closing the console window, WM_exit() function is not called which saves the preferences after closing the blender: https://projects.blender.org/blender/blender/src/branch/main/source/blender/windowmanager/intern/wm_init_exit.cc#L520

Forwarding to UI devs for further investigation. May not be considered as a bug.

Thanks for the report. Can confirm. This may be expected because changes done in .blend file are not saved either. In case of crash and closing the console window, `WM_exit()` function is not called which saves the preferences after closing the blender: https://projects.blender.org/blender/blender/src/branch/main/source/blender/windowmanager/intern/wm_init_exit.cc#L520 Forwarding to UI devs for further investigation. May not be considered as a bug.
Pratik Borhade added
Module
User Interface
Status
Needs Info from Developers
and removed
Status
Needs Triage
labels 2023-11-22 07:01:10 +01:00
Pratik Borhade changed title from Program Settings Lost if Blender Crashes to Preferences are not saved when Blender Crashes or force closed 2023-11-22 07:02:58 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#115068
No description provided.