Blender 3.x: Local object with linked data loses Vertex Groups #94424

Closed
opened 2021-12-28 00:35:06 +01:00 by Alex · 11 comments

System Information
Intel i9-10850K, 32 Gb RAM, NVidia GeForce GTX 1070 8GB
Windows 10 x64

Blender Version
Broken: 3.x
Worked: 2.9x

Short description of error
When you Link something that contains Vertex Groups to a new scene and make that object local while leaving its data either linked or overridden it loses its vertex groups after you reload he file. I have noticed another very peculiar thing – if you link the same object again, vertex groups will magically appear on previous object as well and will stay there until you remove the linked object from the scene. I'm aware about Blender's issues with Vertex Groups but this is different because the same exact thing doesn't happen in 2.9, perhaps this is the result of the refactoring done in https://developer.blender.org/D11689 ?

Exact steps for others to reproduce the error

  1. Open Blender and add a Vertex Group to a Cube, save.
  2. Open another Blender and Link the Cube from the previous file.
  3. Make Cube object Local while its Data should stay linked or overridden.
  4. Save and reload the file and you will see that Vertex Group on the Cube is gone.
  5. Link the Cube again from the previous file and Vertex Group will appear on both Cubes for some reason. If you leave the second Cube in the scene both groups will stay, if you remove the linked Cube the first Cube will lose its groups after reloading as well.

Or:
#94424.zip

  • extract .zip somewhere
  • open T94424_main.blend
  • with the selected Cube: Object > Relations > Make Local > Selected Objects
  • save and reload the file: vertex groups are gone
**System Information** Intel i9-10850K, 32 Gb RAM, NVidia GeForce GTX 1070 8GB Windows 10 x64 **Blender Version** Broken: 3.x Worked: 2.9x **Short description of error** When you Link something that contains Vertex Groups to a new scene and make that object local while leaving its data either linked or overridden it loses its vertex groups after you reload he file. I have noticed another very peculiar thing – if you link the same object again, vertex groups will magically appear on previous object as well and will stay there until you remove the linked object from the scene. I'm aware about Blender's issues with Vertex Groups but this is different because the same exact thing doesn't happen in 2.9, perhaps this is the result of the refactoring done in https://developer.blender.org/D11689 ? **Exact steps for others to reproduce the error** 1. Open Blender and add a Vertex Group to a Cube, save. 2. Open another Blender and Link the Cube from the previous file. 3. Make Cube object Local while its Data should stay linked or overridden. 4. Save and reload the file and you will see that Vertex Group on the Cube is gone. 5. Link the Cube again from the previous file and Vertex Group will appear on both Cubes for some reason. If you leave the second Cube in the scene both groups will stay, if you remove the linked Cube the first Cube will lose its groups after reloading as well. Or: [#94424.zip](https://archive.blender.org/developer/F12780418/T94424.zip) - extract .zip somewhere - open `T94424_main.blend` - with the selected Cube: `Object` > `Relations` > `Make Local` > `Selected Objects` - save and reload the file: vertex groups are gone
Author

Added subscriber: @SpectreFirst

Added subscriber: @SpectreFirst
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Hi, thanks for the report. Can not reproduce here on current master and 3.0.0.

I might be missing something to reproduce this issue.

Link the Cube from the previous file.

Link as Object or mesh?

Make Cube object Local while its Data should stay linked or overridden.

Do you mean {nav Object > Relations > Make Local > Selected Object}?

Hi, thanks for the report. Can not reproduce here on current master and 3.0.0. I might be missing something to reproduce this issue. > Link the Cube from the previous file. Link as Object or mesh? > Make Cube object Local while its Data should stay linked or overridden. Do you mean {nav Object > Relations > Make Local > Selected Object}?
Author

Added subscriber: @pratik-2

Added subscriber: @pratik-2
Author

@PratikPB2123 Aha, I think I know why you cannot reproduce the problem - my Cube was saved in 2.93 and linked to 3.0, when I'm trying to reproduce this on 3.x alone it seems to be working fine so there's something missing between files in 2.9 and 3.0, probably some versioning? Just in case I've tested it again with one Cube from 2.93 and one Cube from 3.0 on the same scene and Cube from 2.93 still loses its groups.

Yes, the testing method is this: Link -> Object ->Cube then Make Local -> Selected Objects

Sorry for addressing the wrong person, my initial quote linked the wrong nickname for some reason.

@PratikPB2123 Aha, I think I know why you cannot reproduce the problem - my Cube was saved in 2.93 and linked to 3.0, when I'm trying to reproduce this on 3.x alone it seems to be working fine so there's something missing between files in 2.9 and 3.0, probably some versioning? Just in case I've tested it again with one Cube from 2.93 and one Cube from 3.0 on the same scene and Cube from 2.93 still loses its groups. Yes, the testing method is this: Link -> Object ->Cube then Make Local -> Selected Objects Sorry for addressing the wrong person, my initial quote linked the wrong nickname for some reason.
Member

Added subscribers: @HooglyBoogly, @lichtwerk

Added subscribers: @HooglyBoogly, @lichtwerk
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Can confirm.

CC @HooglyBoogly

Will dare setting this to High prio since it is a 3.0 regression.
(this might be lowered, but assume this should still be taken care of)

Can confirm. CC @HooglyBoogly Will dare setting this to High prio since it is a 3.0 regression. (this might be lowered, but assume this should still be taken care of)
Member

Removed subscriber: @pratik-2

Removed subscriber: @pratik-2

Closed as duplicate of #93778

Closed as duplicate of #93778
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
4 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#94424
No description provided.