-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting base color texture cause error #77
Comments
Here migrate material works fine That .001 in the texture name Is suspicious, Is your texture name really that? Just my 2 cents 😊 |
Delete your actual material, close Blender, restart the software and then create a new one, it should work correctly. It happen when you copy a mesh from an other .blend file. |
@ronh991 Does the above solve your issue? |
Guys this is due to the migration of materials. The 001 was me doing things numerous times. trying to add the material manually after the migration. This is the error with migrate. location: :-1 |
this is the error after trying to add the texture myself location: :-1 Traceback (most recent call last): |
fixed in migration fix branch |
Current Behavior
Setting a texture to Base Color causes error. - not shown
Expected Behavior
to add texture to texture node
Steps To Reproduce
Open model
migrate standard texture (has standard texture already) will not carry over.
set the texture to the required texture get error.
Traceback (most recent call last):
File "C:\Users\Ron\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_scene_gltf2_msfs\blender\msfs_material_prop_update.py", line 128, in update_base_color_texture
msfs.setBaseColorTex(self.msfs_base_color_texture)
AttributeError: 'NoneType' object has no attribute 'setBaseColorTex'
File "C:\Users\Ron\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_scene_gltf2_msfs\blender\msfs_material_prop_update.py", line 123, in update_base_color_texture
Traceback (most recent call last):
File "C:\Users\Ron\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_scene_gltf2_msfs\blender\msfs_material_prop_update.py", line 128, in update_base_color_texture
msfs.setBaseColorTex(self.msfs_base_color_texture)
AttributeError: 'NoneType' object has no attribute 'setBaseColorTex'
File "C:\Users\Ron\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_scene_gltf2_msfs\blender\msfs_material_prop_update.py", line 123, in update_base_color_texture
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: