key "Subsurface" not found' #87

Closed
opened 2024-05-08 08:53:57 +00:00 by Ghost · 1 comment
Ghost commented 2024-05-08 08:53:57 +00:00 (Migrated from git.disroot.org)

When I press convert to blender , error occurs
Python: Traceback (most recent call last): File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\operators\material.py", line 93, in execute cycles_converter.convertToBlenderShader(obj, use_principled=self.use_principled, clean_nodes=self.clean_nodes, subsurface=self.subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 126, in convertToBlenderShader __convertToPrincipledBsdf(i.material, subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 301, in __convertToPrincipledBsdf __switchToPrincipledBsdf(material.node_tree, s, subsurface=subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 328, in __switchToPrincipledBsdf #shader.inputs["Subsurface"].default_value = subsurface ^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'bpy_prop_collection[key]: key "Subsurface" not found'

When I press convert to blender , error occurs `Python: Traceback (most recent call last): File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\operators\material.py", line 93, in execute cycles_converter.convertToBlenderShader(obj, use_principled=self.use_principled, clean_nodes=self.clean_nodes, subsurface=self.subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 126, in convertToBlenderShader __convertToPrincipledBsdf(i.material, subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 301, in __convertToPrincipledBsdf __switchToPrincipledBsdf(material.node_tree, s, subsurface=subsurface) File "C:\Users\admin\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\Cats-Blender-Plugin-Unofficial--blender-41\extern_tools\mmd_tools_local\cycles_converter.py", line 328, in __switchToPrincipledBsdf #shader.inputs["Subsurface"].default_value = subsurface ^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'bpy_prop_collection[key]: key "Subsurface" not found'`
Ghost commented 2024-05-08 09:25:02 +00:00 (Migrated from git.disroot.org)

You clearly didn't read this https://github.com/Yusarina/Cats-Blender-Plugin-Unofficial-/issues/81

Or any of the warnings in the readme or wiki about blender 4.1.

This is a mmd tools issue therefor I am going to close this issue. Please downgrade to blender 3.6 for a stable experience as I am unable to fix issues that are related to mmd tools.

MMD Tools is a 3rd party add-on which cats uses for certain functions. The author mmd tools is not going to support blender 4.x into the 4.2 LTS.

You clearly didn't read this https://github.com/Yusarina/Cats-Blender-Plugin-Unofficial-/issues/81 Or any of the warnings in the readme or wiki about blender 4.1. This is a mmd tools issue therefor I am going to close this issue. Please downgrade to blender 3.6 for a stable experience as I am unable to fix issues that are related to mmd tools. MMD Tools is a 3rd party add-on which cats uses for certain functions. The author mmd tools is not going to support blender 4.x into the 4.2 LTS.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
Kneelawk/Cats-Blender-Plugin#87
No description provided.