2.82 Mantaflow not writing cache files (unicode characters in filepath) #74155
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#74155
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.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
CPU: Threadripper 1950X
RAM : 32GB
Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash:
77d23b0bd7
Worked: (optional)
Short description of error
When baking a fluid sim (fluid or gas), no files are written to the cache directory. Folders like data and config are created but no actual cache files. Simulation works in "replay" mode.
Weird issue/ bug since it worked on my home pc but not on the work pc. No errors reported by blender.
Exact steps for others to reproduce the error
Added subscriber: @Carrotcakee
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
Is it possible, that your work PC has some restrictions on users? Can you try run Blender as admin?
It is hard to debug this if you can not create 100% reproducible case
Added subscriber: @lichtwerk
Does this happen in any folder location? (or does it work if you choose a cache directory somewhere else? e.g. subfolder of the current .blend file?)
And just to make sure: please share you example .blend file (this makes sure we are all looking at the same thing...)
I can't see how the PC would have any special restrictions as I personally installed windows from scratch. It is set up as an "organization pc" during setup though.
I have tried running it as admin and it makes no difference.
It works in the standard temp folder (AppData\Local\Temp\blender_a22300\cache_fluid) but if I change the directory to a folder on the desktop, documents, videos etc, it won't write any cache files anymore. I have tried setting the path as a relative path to the .blend file with no success. I have also tried rendering to the same folder and the render does output files to the folder.
Heres a simple example file as requested: Mantaflow_Cache_Debug_Example.blend
Update:
Tried the example file on a coworkers computer and everything works for him, the sim writes the cache files like it should.
I can get it to work by choosing our office NAS as the cache directory. So it works in %appdata% and on network drives but not in documents, videos, desktop etc.
Is there a better debug console that I can use to see what mantaflow is doing or trying to do while baking? Example like a "calculating x..... writing frame cache to directory x....." ?
Added subscriber: @ankitm
Do you have protected folders turned on ? https://www.tenforums.com/tutorials/87858-add-protected-folders-controlled-folder-access-windows-10-a.html
No, it seems to be turned off:
Added subscriber: @msamilg-3
I'm having the exact same problem. Other simulation caches are writing fine on the disk, but not Mantaflow.
Hi, I have solved the issue and it came down to my C:\Users{username} having non-unicode characters (The Å in my last name). From the looks of your name here I would guess your Ş or ü might be your problem.
Updating my Windows username and replacing the Å with an A fixed the problem completely and Blender and Mantaflow are now writing out cache files to any directory I choose.
Updating the windows username path is not super easy but this guide made it less of a headache: https://winaero.com/blog/rename-user-profile-folder-windows-10/
DEVS: Maybe look into how Mantaflow handles non-unicode characters in file paths as Blender (Cycles/ Eevee) seems to handle it fine.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Added subscriber: @sebbas
Just stumbled upon possibly related:
b0af44fa4d
@sebbas: Can you reproduce? Are you aware?
This should be resolved in 2.83 by
b0af44fa4d
2.82 Mantaflow not writing cache filesto 2.82 Mantaflow not writing cache files (unicode characters in filepath)Closed as duplicate of #50630
@iss: that commit is two years old (I just posted this as a reference)
Report is from a version two weeks old and on a 64bit windows... Are you sure this is fixed (or a duplicate)?
Changed status from 'Duplicate' to: 'Needs Developer To Reproduce'
Sorry, I haven't checked. I was quite certain, that this issue was dealt with recently.
In any case I tested 2.82 with cache path
//ščřž/
it didn't work.2.83 did work.
Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
@iss, thx for getting back.
Looks like this was indeed fixed, see #73770 (Mantaflow is unable to bake fluid simulations on non-ASCII file paths),
4453509d83
,b8af5e1062
.Sorry for the noise.
@Carrotcakee: please try a fresh build from https://builder.blender.org/download/ (these have the fixes included).
Will close as resolved then, feel free to comment again if issues persist...