Deleting a baked action results in an error #101045

Closed
opened 2022-09-13 23:16:47 +02:00 by quantumcoderqc · 13 comments

System Information
Operating system: Windows 10
Graphics card: Nvdia 2060 RTX

Blender Version
Version 3.3.0 Release, Hash: 0759f671ce

Short description of error

Baking animation for an object and then deleting it in the outliner results in the following error in the Blender system console:

ERROR (bke.lib_id_delete): C:\Users\blender\git\blender-v330\blender.git\source\blender\blenkernel\intern\lib_id_delete.c:349 id_delete: Deleting ACAction which still has 1 users (including 0 'extra' shallow users)

Exact steps for others to reproduce the error

  1. Open a default Blend file
  2. Select the default cube
  3. Bake action by accessing the pill menu Object -> Animation -> Bake Action
  4. Select the bake options as following and click OK:
    image.png
  5. In the outliner, select the baked action and delete it.

This will result in the above mentioned error in the Blender system Console.

The error also occurs if you bake the action and delete it via code (even with the unlink option enabled) like so:

anim = bpy.data.actions[0]
bpy.data.actions.remove(anim, do_unlink = True)
**System Information** Operating system: Windows 10 Graphics card: Nvdia 2060 RTX **Blender Version** Version 3.3.0 Release, Hash: 0759f671ce1f **Short description of error** Baking animation for an object and then deleting it in the outliner results in the following error in the Blender system console: ``` ERROR (bke.lib_id_delete): C:\Users\blender\git\blender-v330\blender.git\source\blender\blenkernel\intern\lib_id_delete.c:349 id_delete: Deleting ACAction which still has 1 users (including 0 'extra' shallow users) ``` **Exact steps for others to reproduce the error** 1. Open a default Blend file 2. Select the default cube 3. Bake action by accessing the pill menu `Object -> Animation -> Bake Action` 4. Select the bake options as following and click `OK`: ![image.png](https://archive.blender.org/developer/F13489488/image.png) 5. In the outliner, select the baked action and delete it. This will result in the above mentioned error in the Blender system Console. The error also occurs if you bake the action and delete it via code (even with the unlink option enabled) like so: ``` anim = bpy.data.actions[0] bpy.data.actions.remove(anim, do_unlink = True) ```
Author

Added subscriber: @QuantumCoderQC

Added subscriber: @QuantumCoderQC

Added subscriber: @timodriaan

Added subscriber: @timodriaan

Added subscriber: @rpaladin

Added subscriber: @rpaladin

Added subscribers: @mont29, @iss

Added subscribers: @mont29, @iss

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

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

I was able to reproduce this message, but only once, even if starting from scratch or restarting Blender. @QuantumCoderQC do you get this message every time you follow the steps?

Will CC @mont29 anyway, in case this indicates some serious issue.

I was able to reproduce this message, but only once, even if starting from scratch or restarting Blender. @QuantumCoderQC do you get this message every time you follow the steps? Will CC @mont29 anyway, in case this indicates some serious issue.
Author

do you get this message every time you follow the steps?

Yes, I get this error every time I repeat the steps. Even without re-start.

> do you get this message every time you follow the steps? Yes, I get this error every time I repeat the steps. Even without re-start.

I will try to check exact commit, because I may have tested this with older version, but please check if this happens with latest 3.3 or 3.4 build from https://builder.blender.org/download/daily/

I will try to check exact commit, because I may have tested this with older version, but please check if this happens with latest 3.3 or 3.4 build from https://builder.blender.org/download/daily/
Author

but please check if this happens with latest 3.3 or 3.4 build

Yes, this also happens in the daily builds (V3.3)19ae71c11342 and (V3.4)ecf3435362cf. I am also able to reproduce this multiple times without re-starting Blender in both cases.

> but please check if this happens with latest 3.3 or 3.4 build Yes, this also happens in the daily builds (V3.3)19ae71c11342 and (V3.4)ecf3435362cf. I am also able to reproduce this multiple times without re-starting Blender in both cases.

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

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

Re-checked with 3a7dc572dc and can reproduce error message every time now, but only from scratch. I can confirm though.

Re-checked with 3a7dc572dc and can reproduce error message every time now, but only from scratch. I can confirm though.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne self-assigned this 2022-10-05 16:28:18 +02:00

Fixed by 6dd2e193e1.

Fixed by 6dd2e193e1.
Bastien Montagne added this to the Core project 2023-02-09 15:43:11 +01:00
Bastien Montagne removed this from the Core project 2023-02-09 18:20:14 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#101045
No description provided.