Crash when file is loaded in previous versions #108491

Closed
opened 2023-06-01 05:36:03 +02:00 by Kent Davis · 13 comments

System Information
Operating system: macOS-13.5-x86_64-i386-64bit 64 Bits
Graphics card: Metal API AMD Radeon Pro 575 1.2

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-05-31 23:34, hash: 69ae7500d001
Worked: (newest version of Blender that worked as expected)

Short description of error
Lola Bunny.blend crash on Blender previous version.

Exact steps for others to reproduce the error
File is saved in 4.0

  • Open this file in 3.5 and prior versions (this will trigger the crash)

Crash does not happen in 3.6


Blender 4.0 copy 1 object then paste to Blender 3.4.1 crash

**System Information** Operating system: macOS-13.5-x86_64-i386-64bit 64 Bits Graphics card: Metal API AMD Radeon Pro 575 1.2 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-05-31 23:34, hash: `69ae7500d001` Worked: (newest version of Blender that worked as expected) **Short description of error** Lola Bunny.blend crash on Blender previous version. **Exact steps for others to reproduce the error** File is saved in 4.0 - Open this file in 3.5 and prior versions (this will trigger the crash) Crash does not happen in 3.6 - - - Blender 4.0 copy 1 object then paste to Blender 3.4.1 crash
Kent Davis added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-06-01 05:36:03 +02:00
Author

See DiagnosticReports

See DiagnosticReports
Member

Seems to be BKE_mesh_legacy_convert_flags_to_selection_layers that's causing the crash.

Not sure how to approach this as newer version of blender now have a lot of data structure changes that might not be compatible with previous versions.

@Kent-Davis Try saving the file again in 3.6, and open that file in 3.5 and 3.4, it might read just fine, but lose of data is expected.

Seems to be `BKE_mesh_legacy_convert_flags_to_selection_layers` that's causing the crash. Not sure how to approach this as newer version of blender now have a lot of data structure changes that might not be compatible with previous versions. @Kent-Davis Try saving the file again in 3.6, and open that file in 3.5 and 3.4, it might read just fine, but lose of data is expected.
YimingWu added
Status
Needs Information from User
Interest
BlendFile
and removed
Status
Needs Triage
labels 2023-06-01 06:22:26 +02:00
Author

Seems to be BKE_mesh_legacy_convert_flags_to_selection_layers that's causing the crash.

Not sure how to approach this as newer version of blender now have a lot of data structure changes that might not be compatible with previous versions.

@Kent-Davis Try saving the file again in 3.6, and open that file in 3.5 and 3.4, it might read just fine, but lose of data is expected.

See my youtube: https://youtu.be/FWb_9CEZpmI

> Seems to be `BKE_mesh_legacy_convert_flags_to_selection_layers` that's causing the crash. > > Not sure how to approach this as newer version of blender now have a lot of data structure changes that might not be compatible with previous versions. > > @Kent-Davis Try saving the file again in 3.6, and open that file in 3.5 and 3.4, it might read just fine, but lose of data is expected. See my youtube: https://youtu.be/FWb_9CEZpmI
Author

I found out Preferences on Theme then 3D Viewport and change color and Alpha number on "Face Retopology" is bug
See youtube.
for Blender 3.6 and 4.0
https://youtu.be/4zQROBJrfRQ

I found out Preferences on Theme then 3D Viewport and change color and Alpha number on "Face Retopology" is bug See youtube. for Blender 3.6 and 4.0 https://youtu.be/4zQROBJrfRQ
Member

Hi, I don't think there is any loss of data when opened in 3.6 (correct me if I'm wrong)
You get "loss of data" message because of this commit which does not preserve forward compatibility: 2a56403cb0
(Save empty blend file in new 4.0 build. Then open it in 3.6, you'll still get the same "loss of data" warning message)

This is a breaking change. Forward compatibility is not preserved, and
the vertex and edge `bevel_weight` properties are removed. Python API
users are expected to use the attribute API to get and set the values.

I think there will be many breaking changes during the 4.0 development.

Confirming the crash report because 3.3LTS is affected.

Hi, I don't think there is any loss of data when opened in 3.6 (correct me if I'm wrong) You get "loss of data" message because of this commit which does not preserve forward compatibility: 2a56403cb0dbcbc1dfb19a9bf7e6434517cbdca9 (Save empty blend file in new 4.0 build. Then open it in 3.6, you'll still get the same "loss of data" warning message) ``` This is a breaking change. Forward compatibility is not preserved, and the vertex and edge `bevel_weight` properties are removed. Python API users are expected to use the attribute API to get and set the values. ``` I think there will be many breaking changes during the 4.0 development. Confirming the crash report because 3.3LTS is affected.
Pratik Borhade added
Status
Confirmed
and removed
Status
Needs Information from User
labels 2023-06-02 03:19:18 +02:00
Pratik Borhade added this to the 3.3 LTS milestone 2023-06-02 03:20:34 +02:00
Pratik Borhade changed title from Lola Bunny.blend crash on Blender previous version. to Crash when file is loaded in previous versions 2023-06-02 03:21:50 +02:00
Author

@PratikPB2123

Cube is primitive object cause crash previous version.

  1. Open Blender 4.0

  2. Copy 1 cube.

  3. Open Blender 3.6.0

  4. Paste 1 cube is fine.

  5. Open Blender 3.5.1
    6 Paste 1 cube is crash guide.

  6. Open Blender 3.4.1

  7. Paste 1 cube is crash guide.
    ===========================================

  8. Open Blender 4.0

  9. Push the A key where mouse pint cursor area 3D Viewport.

  10. Save Untitled.blend.

  11. Open Blender 3.6.0

  12. Open file Untitled.blend.

  13. image

  14. Open Blender 3.5.1

  15. Open file Untitled.blend.

  16. image

  17. Open Blender 3.4.1

  18. Open file Untitled.blend.

  19. image
    ==========================================================

Don't forget about 3.6.0 and 4.0.0 is some bug of "Face Retopology" within Orthographic.
"Face Retopology within Perspective is fine use my Lola Bunny.blend Wireframe and edit mode.

@PratikPB2123 Cube is primitive object cause crash previous version. 1. Open Blender 4.0 2. Copy 1 cube. 3. Open Blender 3.6.0 4. Paste 1 cube is fine. 5. Open Blender 3.5.1 6 Paste 1 cube is crash guide. 7. Open Blender 3.4.1 8. Paste 1 cube is crash guide. =========================================== 1. Open Blender 4.0 3. Push the A key where mouse pint cursor area 3D Viewport. 4. Save Untitled.blend. 5. Open Blender 3.6.0 6. Open file Untitled.blend. 7. ![image](/attachments/ea6a59e2-ea4a-40cb-a660-fd7e4c2dea7d) 8. Open Blender 3.5.1 9. Open file Untitled.blend. 10. ![image](/attachments/c9cc243d-ca53-444d-a303-19fe63e2ff6e) 11. Open Blender 3.4.1 12. Open file Untitled.blend. 13. ![image](/attachments/9c3d327a-044a-4854-acf9-92782d505c1b) ========================================================== Don't forget about 3.6.0 and 4.0.0 is some bug of "Face Retopology" within Orthographic. "Face Retopology within Perspective is fine use my Lola Bunny.blend Wireframe and edit mode.
Philipp Oeser added
Module
Core
and removed
Interest
BlendFile
labels 2023-06-07 11:36:13 +02:00

not sure how much this is expected... @HooglyBoogly should know more about it? Iirc there was already fixes to 3.6 for this?

Setting to high priority since we need to know ASAP if this can be fixed or should be clearly documented (would hope for the former).

not sure how much this is expected... @HooglyBoogly should know more about it? Iirc there was already fixes to 3.6 for this? Setting to high priority since we need to know ASAP if this can be fixed or should be clearly documented (would hope for the former).
Member

Meshes in files from 4.0 aren't compatible with 3.3. The only forward compatible version is 3.6. However, if you really need to move a mesh back to an earlier version (say 3.3), you can save in 4.0, then save in 3.6, then open in 3.3, and that should work, because 3.6 saves in the old format.

This is included in the 4.0 release notes:

  • The mesh format changes from previous versions are now included in the Blender file format, reducing overhead when saving files and file sizes (1b63a290c6).
    • Blender 3.6 can read files from 4.0, but earlier versions cannot
Meshes in files from 4.0 aren't compatible with 3.3. The only forward compatible version is 3.6. However, if you really need to move a mesh back to an earlier version (say 3.3), you can save in 4.0, then save in 3.6, then open in 3.3, and that should work, because 3.6 saves in the old format. This is included in the 4.0 release notes: > - The mesh format changes from previous versions are now included in the Blender file format, reducing overhead when saving files and file sizes (1b63a290c6). > - Blender 3.6 can read files from 4.0, but earlier versions cannot

@HooglyBoogly I think that level of breakage (crash opening a .blend file) should way more widely/visibly communicated, imho would require a blogpost?

@HooglyBoogly I think that level of breakage (crash opening a .blend file) should way more widely/visibly communicated, imho would require a blogpost?

OK fyi talked about how to solve this case with Dalai, Brecht, Sergey, and Ton, and the more general issue of forward versioning. Will create a design task tomorrow with some proposals to move forward.

OK fyi talked about how to solve this case with Dalai, Brecht, Sergey, and Ton, and the more general issue of forward versioning. Will create a design task tomorrow with some proposals to move forward.
Bastien Montagne added
Type
Bug
and removed
Type
Report
labels 2023-06-19 19:02:18 +02:00
Member

Since #109151 is implemented and closed, I believe this can be too?

Since #109151 is implemented and closed, I believe this can be too?

yes indeed, no reason to keep this open anymore.

yes indeed, no reason to keep this open anymore.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-09-07 21:16:42 +02:00
Author

@HooglyBoogly yes correct Save 4.0 document then open 3.4.1 make crash same this here and you send link there correct.

@HooglyBoogly yes correct Save 4.0 document then open 3.4.1 make crash same this here and you send link there correct.
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
5 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#108491
No description provided.