KirilStrezikozin/BakeMaster-Blender-Addon

BUG: Normal map colorspace could not be set

Az-qianchen opened this issue · 6 comments

This bug report is:

  • [Code Execution Error: bpy_struct: item.attr = val: enum "Non-Color" not found in ('Linear', 'sRGB')]

Describe the bug

The same file can bake normal maps in Blender 3.3, but there is an error in 3.4. Other types of maps can be baked.
I encountered the same error when using the tool below.
https://github.com/jayanam/jbake-tools

Screenshots
tmpC80A

Desktop (please complete the following information):

  • OS [e.g. Windows]
  • OS Version [e.g. Windows 11]
  • Blender Version [e.g. Blender 3.4.0]
  • BakeMaster Version [e.g. 2.0]

@Az-qianchen thanks for reaching out,
can you provide some more information, please, for me to quickly reproduce the error:

  • Screenshot of Normal map settings
  • Screenshot of Bake Output settings (especially what Create Material property is set to)

If you uncheck Create Material (if it was checked), does the issue appear?

@Az-qianchen感谢您的联系, 不能提供更多信息,以方便我快速重现错误:

  • 法线贴图设置的屏幕截图
  • Bake Output 设置的屏幕截图(尤其Create Material是设置的属性)

如果取消消选中Create Material(如果已经选中),问题是否出现?

tmp1CD6
These are my settings. I selected Create Material, but the problem still exists.

@Az-qianchen I struggle to replicate the error. Played around the setup and all settings but I always get Normal map baked no matter what.
Is the Output filepath empty in your Bake output?
If you remove all objects from bakemaster, and then add again (with normal map and all settings as is), will the error appear?

我努力复制错误。围绕设置和所有设置进行了游戏,但无论如何我总是得到法线贴图烘焙。烘焙输出中的空吗?如果从烘焙大师中删除所有对象,然后再次添加(使用法线贴图和所有设置),是否会出现错误?Output filepath

This is my action in Blender 3.3,I got the result
tmpBA68

This is my action in Blender 3.4,is error
tmpDED9

I changed computer but the problem remained
I try to do a minimum of setup,I feel very strange

Hi, @Az-qianchen. I couldn't reproduce the bug but I added a little check regarding the error so it shouldn't appear any more.

For 2.0.2 release:

🚩 @Az-qianchen release with this issue most likely fixed is going to be published tonight. Since this conversation will stay alive, if you appear to have any questions or further feedback, I'll be here for you.

Thanks for the report.

see ya baking 🍞