Rigid body baked cache not invalidated #67059

Open
opened 2019-07-16 14:59:38 +02:00 by John L. Gordon · 8 comments

System Information
Operating system: Windows 10 Pro 64-bit
Graphics card: 4095MB NVIDIA GeForce GTX 1080 (NVIDIA)

Blender Version
blender-2.80rc1-windows64
Worked: (optional)

Short description of error
Simple physics object is trapped in previous (deleted) animated properties.
Exact steps for others to reproduce the error

I have included a blend file which consist of just a cube with physics properties added.
It is supposed to fall but it moves to the origin and stays there.
The file is a working file from which everything has been deleted and a cube added.
Run the animation and the cube will behave oddly.
If the cube is deleted and a different mesh added, say a sphere and moved and basic physics assigned. It will do the same.
This is likely to be a problem with my file from which everything has been deleted??
physics-problem.blend

**System Information** Operating system: Windows 10 Pro 64-bit Graphics card: 4095MB NVIDIA GeForce GTX 1080 (NVIDIA) **Blender Version** blender-2.80rc1-windows64 Worked: (optional) **Short description of error** Simple physics object is trapped in previous (deleted) animated properties. **Exact steps for others to reproduce the error** I have included a blend file which consist of just a cube with physics properties added. It is supposed to fall but it moves to the origin and stays there. The file is a working file from which everything has been deleted and a cube added. Run the animation and the cube will behave oddly. If the cube is deleted and a different mesh added, say a sphere and moved and basic physics assigned. It will do the same. This is likely to be a problem with my file from which everything has been deleted?? [physics-problem.blend](https://archive.blender.org/developer/F7612948/physics-problem.blend)
Author

Added subscriber: @johnlgordon-4

Added subscriber: @johnlgordon-4
Author

This seems to have been caused by left over animation bakes after objects have been deleted from the scene.
Resetting the animation time has solved the problem.
Don't know why the new object was affected but resetting simulation end time fixes the issue.

This seems to have been caused by left over animation bakes after objects have been deleted from the scene. Resetting the animation time has solved the problem. Don't know why the new object was affected but resetting simulation end time fixes the issue.

Added subscribers: @Sergey, @ZedDB

Added subscribers: @Sergey, @ZedDB
Sergey Sharybin was assigned by Sebastian Parborg 2019-07-17 12:15:48 +02:00

@Sergey the simulation starts working if I just simply have the "Step Per Second" input box refresh (click and press enter).
So I'm guessing that it triggers some re-evaluation of data.

@Sergey the simulation starts working if I just simply have the "Step Per Second" input box refresh (click and press enter). So I'm guessing that it triggers some re-evaluation of data.
Sergey Sharybin removed their assignment 2019-07-17 12:41:12 +02:00

Added subscriber: @sreich

Added subscriber: @sreich

@ZedDB, the workaround you've provided makes no difference for me. I think the proper way is to enable "Animated" option in rigid body world settings of the cube.

I am not really into diffing into exact design decision in this area since this is not a regression compared to 2.79. Maybe @sreich will give some clues here.

T67059_279.blend

@ZedDB, the workaround you've provided makes no difference for me. I think the proper way is to enable "Animated" option in rigid body world settings of the cube. I am not really into diffing into exact design decision in this area since this is not a regression compared to 2.79. Maybe @sreich will give some clues here. [T67059_279.blend](https://archive.blender.org/developer/F7614666/T67059_279.blend)

Yes, this is not a regression, but a quirk of how rigid body cache works.
As noted above you only need to "Delete Bake".
One thing we could do is flag cache as outdated after the the user has pressed "Delete Bake".
The way it is now, you still have to make a change to the simulation before that happens (like modifying or moving objects).

Yes, this is not a regression, but a quirk of how rigid body cache works. As noted above you only need to "Delete Bake". One thing we could do is flag cache as outdated after the the user has pressed "Delete Bake". The way it is now, you still have to make a change to the simulation before that happens (like modifying or moving objects).
Philipp Oeser changed title from physics problem to Rigid body baked cache not invalidated 2019-12-18 18:28:35 +01:00

Added subscriber: @pauanyu_blender

Added subscriber: @pauanyu_blender
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#67059
No description provided.