Mantaflow "Replay" cache not working as expected #75174

Closed
opened 2020-03-28 23:53:51 +01:00 by Jesse · 11 comments

System Information
Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits
Graphics card: NVIDIA GeForce GTX 660M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-12.0.24 355.11.10.50.10.103

Blender Version
Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-03-27 23:12, hash: 1f949121cd

Short description of error
The replay/live preview and modular and final in the mantaflow fluid simulator won’t work for me. I tried deleting the cache folder and making a new one and changing some settings in the mantaflow simulator and changing them back to try to clear the cache but that still didn’t work. Someone on the cg cookie forum said it might be an operating system specific bug.

Exact steps for others to reproduce the error
open blend file and select replay/live preview beside cache type and press play in the timeline or select modular and press bake data or select final and press bake all and press play in the timeline nothing will show up for both of these cache types

Mantaflow.blend

video of problem.mp4

**System Information** Operating system: Darwin-18.7.0-x86_64-i386-64bit 64 Bits Graphics card: NVIDIA GeForce GTX 660M OpenGL Engine NVIDIA Corporation 4.1 NVIDIA-12.0.24 355.11.10.50.10.103 **Blender Version** Broken: version: 2.83 (sub 11), branch: master, commit date: 2020-03-27 23:12, hash: `1f949121cd` **Short description of error** The replay/live preview and modular and final in the mantaflow fluid simulator won’t work for me. I tried deleting the cache folder and making a new one and changing some settings in the mantaflow simulator and changing them back to try to clear the cache but that still didn’t work. Someone on the cg cookie forum said it might be an operating system specific bug. **Exact steps for others to reproduce the error** open blend file and select replay/live preview beside cache type and press play in the timeline or select modular and press bake data or select final and press bake all and press play in the timeline nothing will show up for both of these cache types [Mantaflow.blend](https://archive.blender.org/developer/F8434157/Mantaflow.blend) [video of problem.mp4](https://archive.blender.org/developer/F8434156/video_of_problem.mp4)
Author

Added subscriber: @Blendergeek24

Added subscriber: @Blendergeek24

#75201 was marked as duplicate of this issue

#75201 was marked as duplicate of this issue
Jesse changed title from Mantaflow replay/live preview and modular and final won't work. to Mantaflow replay/live preview and modular and final won't work on iMac 2020-03-28 23:54:36 +01:00
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

I ran the file from #75201, and there was nothing there at first. Baking did nothing. I created a cube, and applied Quick Fluid to it. I was able to bake that and play it back successfully. I then switched back to your simulation, and baking was working again, I renamed the cache folder before each bake. The blender_debug_output.txt is filled with

Unable to delete file```

I think the issue is that you named the cache folder, which seams to cause Blender not delete it or its contents.  This isn't noted in the manual as far as I can see.  Try renaming the baking cache folder and then re-bake.
I ran the file from #75201, and there was nothing there at first. Baking did nothing. I created a cube, and applied `Quick Fluid` to it. I was able to bake that and play it back successfully. I then switched back to your simulation, and baking was working again, I renamed the cache folder before each bake. The blender_debug_output.txt is filled with ```Unable to remove directory Unable to delete file``` I think the issue is that you named the cache folder, which seams to cause Blender not delete it or its contents. This isn't noted in the manual as far as I can see. Try renaming the baking cache folder and then re-bake.
Author

I renamed the cache folder to just CACHE in all caps an rebaked the simulator but that still didn't work. Plus I think I rememberer my first attempt of getting mantaflow to work and I think I didn't rename the cache folder then and it still didn't work .

I renamed the cache folder to just CACHE in all caps an rebaked the simulator but that still didn't work. Plus I think I rememberer my first attempt of getting mantaflow to work and I think I didn't rename the cache folder then and it still didn't work . ```
Author

Just a little update I tried mantaflow again in the latest alpha still didn't work.

Just a little update I tried mantaflow again in the latest alpha still didn't work.

Added subscriber: @sebbas

Added subscriber: @sebbas

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

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

Hi, yes I noticed this too. Working on a fix for this now.

Hi, yes I noticed this too. Working on a fix for this now.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sebastián Barschkis self-assigned this 2020-04-15 18:14:59 +02:00

In 7de86ad61f there have been some changes that improve baking with the 'Replay' mode. Those should fix the issues you had over there.

Also, in the file that you attached make sure to Apply -> All Transforms and to Recalculate Normals for the liquid inflow object.

In 7de86ad61fb1 there have been some changes that improve baking with the 'Replay' mode. Those should fix the issues you had over there. Also, in the file that you attached make sure to `Apply -> All Transforms` and to `Recalculate Normals` for the liquid inflow object.
Sebastián Barschkis changed title from Mantaflow replay/live preview and modular and final won't work on iMac to Mantaflow "Replay" cache not working as expected 2020-04-15 18:16:58 +02:00
Thomas Dinges added this to the 2.83 LTS milestone 2023-02-08 16:38:06 +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
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#75174
No description provided.