Blender crash on import of some character materials in Extended Principled/BSDF
Daz Studio 4.21.05 | Blender 3.3.3 | Diffeomorphic 1.7.0.1428 | Windows 10
'Prune node tree' in Global Settings causes Blender crash in import of some character materials when material method is set to ‘Extended Principled’ or ‘BSDF’.
Nearly every single character I have created crashes on import unless I set material method to ‘Single Principled’ or disable ‘Prune node tree’ in Global Settings. This issue is not present in 1.6.1 or 1.6.2.
I have attached a .duf scene file with a default G8.1F with the material applied and textures removed. I have also attached the blender crash report, no diffeomorphic crash report is generated. I have tested on two separate machines, the second being one with a new install of Daz and Blender with only bare bones default content.
Steps to reproduce:
- Generate .dbz file for TEST10.duf
- Import into Blender using ‘Extended Principled' or ‘BSDF’ as the material method with 'Prune node tree’ enabled in Global Settings.
- Blender crashes.
Work arounds:
- Disable ‘Prune node tree’ in Global Settings or,
- Import using ‘Single Principled’ or,
- Import using versions 1.6.1/1.6.2
Comments (15)
-
reporter -
You may have texture resizing for eevee, see
#1338. Actually 3.4.1 is rather unstable it’s better to use 3.3.3 for production, or get a daily build with the latest fixes. -
update.
It seems it’s not the materials. If I unparent the eyelashes and tear in your TEST10 scene then everything works fine. Did you do something “strange“ or used external plugins or modified the duf file yourself in the test scene ?
-
reporter - attached TEST8.duf
- attached blender.crash_3.3.3.txt
New test file that crashes in 3.3.3 and Blender 3.3.3 crash report
-
Here TEST10 crashes in 3.3.3 too so no need of a new one. See my update above.
-
reporter Switching to 3.3.3 allowed me to load in the test file I provided (TEST10.duf). But, unfortunately even in 3.3.3, Blender still crashes with my full character imports. I have attached another test file (TEST8.duf) that crashes 3.3.3.
I have done some further testing as well. If I unparent everything from the character, it does work as you say.
-
reporter Update
Applying G8F default materials to TEST8 and TEST10, keeping everything still parented allows me to load in the scene with both 3.3.3 and 3.4.1, so it seems materials are tied to this crash in some way?
-
You didn’t reply to my questions. How did you do the test scene ? Please exact steps so we can replicate it.
-
reporter No external plugins, I never edited the .duf manually. What I did was, I saved the materials from one of my full character files that was crashing (attached below) and applied it onto a default G8.1F character and then imported the scene as mentioned in my original post. Then before sharing the file, I made sure to remove all the textures.
-
reporter - attached TESTFAIL_MAT.duf
Preset crash material.
-
update. solution for Thomas to check.
daz studio 4.21.0.5, blender 3.4.1, diffeomorphic 1.7.0.1429
Ok I believe I got it. The issue seems to be the prune in the global settings. If I uncheck “prune node tree“ then the test scene loads fine.
Odd thing is, if I then prune the materials with “prune node trees“ in advanced setup > materials, it works fine and doesn’t crash. So I wonder if “prune node tree“ for some reason must be called last when we load a scene.
-
reporter Daz Studio 4.21.05 | Blender 3.3.3 | Diffeomorphic 1.7.0.1430 | Windows 10
Disabling ‘Prune Node Tree’ in Global Settings suggested by@Alessandro Padovani also prevents the crash in the test scene and all my character files. -
reporter - edited description
Clarified the issue thanks to Alessandro Padovani.
-
repo owner Fixed in last commit.
-
reporter - changed status to resolved
All working now, thank you!
- Log in to comment
Interestingly, after further testing, BSDF crashed 8 out of the 10 times I tried. So it doesn’t seem to be completely consistent.