Closed ApeOnFire closed 6 months ago
@ApeOnFire, can't reproduce on Linux and Windows, cubes are added to the bake job group as expected. Have you tried restarting blender, disabling/reenabling BakeMaster addon?
Also, can you please open the blender console before adding cubes to BakeMaster, and monitor any debug info that appears there at the moment of adding a bake job group? Then send a screenshot of them here if any does appear.
@KirilStrezikozin nothing is printed to the console unfortunately.
It is 100% reproducible though. I've restarted blender and the machine multiple times now, reinstalled the BakeMaster add-on and disabled all other community add-ons.
I can test it on another mac later today - I'll report back.
@KirilStrezikozin tested on another mac and got the same behaviour in v3.6.4.
Interestingly though, the machine still had v3.5.1 on it so I tried that too. This time it crashed blender instantly instead of hanging. The only line printed to the console though was:
[1] 54776 segmentation fault /Applications/Blender.app/Contents/MacOS/Blender
Not a lot of help I guess… sorry I can't provide more info. I'm happy to try other things or test potential fixes for you though - just let me know.
Thanks for your effort. Regarding some testing, how would it be more comfortable for you?:
No worries. Option two would be preferable 👍
ok, I can't certainly say what exactly causes this bug, because the segmentation fault (like the one you've caught in the v3.5.1 version of Blender) is not particularly connected with BakeMaster itself. Instead, some action it produces freezes blender or causes it to crash.
The first thing we'll do until I find a Mac for me is to try to pinpoint the bug's location.
For this, open BakeMaster in blender addon preferences, and navigate to the path on your system where it's stored:
Open that folder and look for a file named operators.py
. Replace it with the operators.py
file you'll get after extracting this zip archive.
Now, restart (or open) Blender and try to make a bake job group.
Notice that the dialog menu has the following property:
Execute Create Bake Job Group
operator 4 times with this property set to the next value each round.
Report back here which numbers caused blender to hang/crash.
After running through loads of scenarios I've pinned it down a bit more closely.
This took a while to figure out but hopefully it's useful and might point you in the right direction?
Thanks. Yes, this will definitely help. The behavior is very very strange to me though. I'll try to think about what I can do here and get back to you with another file to test.
Ok great. There's no hurry from me as I can work around it now. But happy to run more tests as needed.
@ApeOnFire, test out this one: operators.zip
@KirilStrezikozin it still hangs unfortunately.
I also found another scenario the other day where it hangs:
Hangs when you click ok.
This also happens if you use the auto matching:
Hangs when you press the button.
I haven't added a new bug as I'm guessing the root cause is the same.
@ApeOnFire, hi. Please test this new one: operators.zip. That's for the Bake Job Group. Same procedure: replacing operators.py
.
This bug report is:
Describe the bug Creating a bake job with more than two objects in it causes Blender to hang.
To Reproduce Steps to reproduce the behavior:
Expected behavior The cubes should be added to a container for further config.
Desktop (please complete the following information):