Overrides: Crash with animated IK control on linked armature #80078

Closed
opened 2020-08-24 15:15:02 +02:00 by Demeter Dzadik · 11 comments
Member

System Information
Operating system: Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-07-28 11:49, hash: 2a52c2d001

Short description of error
After linking and library overriding a complex rig, various actions can cause a crash with this backtrace:
backtrace1

Trying to simplify the rig further has been a nightmare. With 24 attempts over the past hour, all I managed to do while still getting the crashes is delete all but one mesh object - but the backtrace is going on about IK functions, so I don't understand why the mesh would be relevant. Even so, removing other bones also seems to make the crash go away... I am very confused.

Exact steps for others to reproduce the error

  • Rig file: sprite.rig.blend
  • Link CH-sprite collection in a fresh project
  • Make library override
  • Animate the "IK-MSTR-P-Wrist.L" bone with a couple of keyframes
  • Save and restart blender
  • Do actions such as playing animation, changing action, select, deselect all, box select, Save As
  • It should crash.

00_override_crash.mp4

CC @mont29 Sorry I couldn't simplify the file any further.

**System Information** Operating system: Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid 64 Bits Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-07-28 11:49, hash: `2a52c2d001` **Short description of error** After linking and library overriding a complex rig, various actions can cause a crash with this backtrace: [backtrace1](https://archive.blender.org/developer/F8808240/backtrace1) Trying to simplify the rig further has been a nightmare. With 24 attempts over the past hour, all I managed to do while still getting the crashes is delete all but one mesh object - but the backtrace is going on about IK functions, so I don't understand why the mesh would be relevant. Even so, removing other bones also seems to make the crash go away... I am very confused. **Exact steps for others to reproduce the error** - Rig file: [sprite.rig.blend](https://archive.blender.org/developer/F8808249/sprite.rig.blend) - Link CH-sprite collection in a fresh project - Make library override - Animate the "IK-MSTR-P-Wrist.L" bone with a couple of keyframes - Save and restart blender - Do actions such as playing animation, changing action, select, deselect all, box select, Save As - It should crash. [00_override_crash.mp4](https://archive.blender.org/developer/F8808261/00_override_crash.mp4) CC @mont29 Sorry I couldn't simplify the file any further.
Author
Member

Added subscribers: @mont29, @Mets

Added subscribers: @mont29, @Mets
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

OK, can confirm, but I havent been able to reproduce this from scratch in a simple file, but this seems to be related to the bone layers all being protected

image.png

Now absolutely no expert in rigging, but for me, the issues go away if I disable the Layer Proxy Protection, can you confirm @Mets ?

OK, can confirm, but I havent been able to reproduce this from scratch in a simple file, but this seems to be related to the bone layers all being protected ![image.png](https://archive.blender.org/developer/F8810329/image.png) Now absolutely no expert in rigging, but for me, the issues go away if I disable the Layer Proxy Protection, can you confirm @Mets ?
Member

Yeah, pretty sure there is some issue with Layer Proxy Protection and Overrides (I am not even sure how this is supposed to work with Overrides -- will have to read a bit more), but I guess this is in better hands if @mont29 has a look...

Yeah, pretty sure there is some issue with Layer Proxy Protection and Overrides (I am not even sure how this is supposed to work with Overrides -- will have to read a bit more), but I guess this is in better hands if @mont29 has a look...
Author
Member

Turning off layer protection does not seem to make a difference on my end:

video-2020-08-25_16.39.45.mp4

Turning off layer protection does not seem to make a difference on my end: [video-2020-08-25_16.39.45.mp4](https://archive.blender.org/developer/F8810526/video-2020-08-25_16.39.45.mp4)
Member

Hm, OK, not sure what is going on then, was fixing it on my side.
What happens when you disable protected layers in the source file after animating the main file?

Hm, OK, not sure what is going on then, was fixing it on my side. What happens when you disable protected layers in the source file **after** animating the main file?

This issue was referenced by 812c234377

This issue was referenced by 812c234377302fdcb6b6bf8c7715507f9831525f

This issue was referenced by df8a63bb9c

This issue was referenced by df8a63bb9c0a7090562e3f33c5da80d5dafa386d
Bastien Montagne self-assigned this 2020-08-27 16:54:52 +02:00

@Mets can you please confirm that the proposed patch fixes the issue for you as well? Thanks.

@Mets can you please confirm that the proposed patch fixes the issue for you as well? Thanks.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:25:40 +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
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#80078
No description provided.