Blender 3.0 doesn't save vertex groups from linked objects #93778

Closed
opened 2021-12-07 00:06:23 +01:00 by Matteo GH · 13 comments

System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.68

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557
Worked: (newest version of Blender that worked as expected)

Short description of error
When saving a .blend file with linked meshes form a 2.93 file, vertex groups are lost.

Exact steps for others to reproduce the error

  1. Make a new file in 2.93 with an object with vertex groups
  2. Open Blender 3.0 and link the object from the original file
  3. Make the object local (not the mesh, only the object)
  4. Save the file
  5. Revert/open the file again and the vertex groups are missing

This totally destroyed an animation file I was working on.

**System Information** Operating system: Windows-10-10.0.19042-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.68 **Blender Version** Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557` Worked: (newest version of Blender that worked as expected) **Short description of error** When saving a .blend file with linked meshes form a 2.93 file, vertex groups are lost. **Exact steps for others to reproduce the error** 1) Make a new file in 2.93 with an object with vertex groups 2) Open Blender 3.0 and link the object from the original file 3) Make the object local (not the mesh, only the object) 4) Save the file 5) Revert/open the file again and the vertex groups are missing This totally destroyed an animation file I was working on.
Author

Added subscriber: @GH-7

Added subscriber: @GH-7

#94424 was marked as duplicate of this issue

#94424 was marked as duplicate of this issue

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Thanks for the report, I can confirm.
This is the file with the Vertex Group object that I used for linking:
cube-vgroup_293-6.blend

When reopening the new file, in fact the vertex Group disappeared.

Thanks for the report, I can confirm. This is the file with the Vertex Group object that I used for linking: [cube-vgroup_293-6.blend](https://archive.blender.org/developer/F12737558/cube-vgroup_293-6.blend) When reopening the new file, in fact the vertex Group disappeared.

Added subscribers: @HooglyBoogly, @mont29

Added subscribers: @HooglyBoogly, @mont29
Hans Goudey was assigned by Bastien Montagne 2021-12-23 10:27:34 +01:00

Think this is a consequence of the refactor of vgroups in 3.0 (3b6ee8cee7), @HooglyBoogly will let you check that?

Note that there may not be a proper way to fix this, 3.0 is a compatibility-breaking release, while we do our best to ensure at least the backward compatibility, there are cases where this is just not possible.

Think this is a consequence of the refactor of vgroups in 3.0 (3b6ee8cee7), @HooglyBoogly will let you check that? Note that there may not be a proper way to fix this, 3.0 is a compatibility-breaking release, while we do our best to ensure at least the backward compatibility, there are cases where this is just not possible.
Member

I don't think it's possible to fix this. Here's what happens in the two cases:

Object and mesh are linked

  • Versioning code runs to move vertex group names to object data
  • Versioning code finds the object and the mesh in the linked Main
  • The in-memory mesh has the vertex groups, since versioning was applied

Object is local, mesh is linked

  • Versioning code only finds the mesh in the 2.93 file's database.
  • Since versioning code has no object, it cannot move vertex group names
  • The local object has no vertex group names after the file was saved and reopened.
  • Now the in-memory mesh has no vertex group names

I set this as a known issue, but I would be fine with archiving the report too.

I don't think it's possible to fix this. Here's what happens in the two cases: **Object and mesh are linked** - Versioning code runs to move vertex group names to object data - Versioning code finds the object and the mesh in the linked `Main` - The in-memory mesh has the vertex groups, since versioning was applied **Object is local, mesh is linked** - Versioning code only finds the mesh in the 2.93 file's database. - Since versioning code has no object, it cannot move vertex group names - The local object has no vertex group names after the file was saved and reopened. - Now the in-memory mesh has no vertex group names I set this as a known issue, but I would be fine with archiving the report too.

@HooglyBoogly Ah thanks for the investigation, was afraid something like that would be the answer...

Think this report should be archived then, and release notes of 3.0 should be updated (probably add a new section in Core section, with a compatibility breakage note).

@HooglyBoogly Ah thanks for the investigation, was afraid something like that would be the answer... Think this report should be archived then, and release notes of 3.0 should be updated (probably add a new section in Core section, with a compatibility breakage note).
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Member
Done: https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Core#Compatibility

Added subscribers: @SpectreFirst, @lichtwerk, @PratikPB2123

Added subscribers: @SpectreFirst, @lichtwerk, @PratikPB2123

All right, since it's not possible to easily fix the problem, it seems I've found a workaround so in case someone else encounters that problem:

  1. Open the initial file you are linking FROM (for example, a character model or an asset pack) in Blender 3.x and save it (to the same file or create a copy if you want to keep both versions for 2.9 and 3.0) so vertex groups in that file will be moved to where they belong in 3.x
  2. Load your file where this initial file is linked TO (for example, your main scene). I've tried that with several of my scenes and it seems to be working, I've decided to keep my files for 2.9 as well so I've just made copies of them for 3.0 and used Relocate function in Outliner to relink them to my scenes.
All right, since it's not possible to easily fix the problem, it seems I've found a workaround so in case someone else encounters that problem: 1. Open the initial file you are linking FROM (for example, a character model or an asset pack) in Blender 3.x and save it (to the same file or create a copy if you want to keep both versions for 2.9 and 3.0) so vertex groups in that file will be moved to where they belong in 3.x 2. Load your file where this initial file is linked TO (for example, your main scene). I've tried that with several of my scenes and it seems to be working, I've decided to keep my files for 2.9 as well so I've just made copies of them for 3.0 and used Relocate function in Outliner to relink them to my scenes.
Thomas Dinges added this to the 3.0 milestone 2023-02-08 15:58:47 +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
6 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#93778
No description provided.