Cache of cloth simulation is not read by blender after reopening the file (pre-roll) #70631
Labels
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#70631
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.10240 64 Bits
Graphics card: GeForce GT 710/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.65
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
f6cb5f5449
Short description of error
I bake the cloth simulation. I see the blendcache_cloth folder. When I close and reopen the .blend file, the data in the cache folder is not read. When I go to the physics tab, I see the Delete Bake button. This means that blender recognizes that I baked the simulation before but the cloth plane is not animated.
Note 1 : For a small project, when I choose Automatically Pack into .blend it works but for some large project it doesn't work even after choosing Automatically Pack into .blend. Anyway, I wouldn't like to pack All because this will double the size of the texture, audio files, ...etc on my hard drive.
Note 2 : I also tried the method of exporting the cloth simulation as .mdd file. When I import this file again using File>Import, the cloth plane is animated but it is inserted in a very very far location from its original location. The solution is to use Mesh Cache modifier and to modify the axes and to clear all transformation.
Exact steps for others to reproduce the error
I wish if there was an option to enter the path or the location of the cache folder. Thank you for your support and for caring about our bug reports. That's really appreciated :)
cloth.blend
Added subscriber: @MikeBlenderLover
#91227 was marked as duplicate of this issue
Added subscribers: @LucaRood-3, @Sergey, @brecht, @lichtwerk
This is tied to the simulation having a negative start frame.
Afaics, these wont be read in correctly atm.
https://docs.blender.org/manual/en/latest/physics/baking.html
Cloth did even have a "pre-roll" feature once, but that was removed also, see D877: Removed the cloth "pre-roll" feature.
The comment from the manual is not really correct either though, it seems you can do a pre-roll if you
To me this is highly confusing as well, I hope I am not misrepresenting how the workflow really is at the current state of blender?
CC @brecht [he was once involved in #33469], @LucaRood-3 , @Sergey or maybe [not sure who is doing sim at the studio?]?
Not sure how to handle the status of this report. Bug or not?
Chache of cloth simulation is not read by blender after reopening the fileto Cache of cloth simulation is not read by blender after reopening the fileCache of cloth simulation is not read by blender after reopening the fileto Cache of cloth simulation is not read by blender after reopening the file (pre-roll)Well, I didn't know that the pre-roll feature was removed as I'm a beginner. So, I think it's better to show a warning message when someone tries to bake while entering a negative value. For me, the best thing is to make this feature work again. I know there might be programming limitations but the more features the software has, the better it will be.
Thank you all for your support. Really appreciated :)
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
Added subscriber: @mont29
Would consider that as a known issue for now, our current physics caching is known to be problematic in many aspects...
Definitely a known issue. I believe the pointcache system should be removed in favour of a completely new solution.
I think it is relevant to mention here that I started working on an alternative to the pointcache some time ago. I don't have time to continue work on it right now, but the foundation is there.
It is publicly accessible on my gitlab: https://gitlab.com/LucaRood/OmniCache
Added subscriber: @JacquesLucke
@LucaRood-3 @JacquesLucke, caching is planned to be revisited and eventually become part of a new simulation datablock for all physics systems.
https://wiki.blender.org/wiki/Source/Nodes/UnifiedSimulationSystemProposal
Added subscriber: @gabrign
Added subscribers: @AlexMelkin, @iss, @dave9828