BadDogSkyrim / PyNifly

Export/Import tools between Blender and the Nif format, using Bodyslide/Outfit Studio's Nifly layer. Supports Skyrim LE, Skyrim SE, Fallout 4, Fallout New Vegas, Fallout 76, and Fallout 3.
GNU General Public License v3.0
167 stars 15 forks source link

Mesh Import fails #209

Closed Jaume96 closed 4 months ago

Jaume96 commented 4 months ago

when trying to import a Mesh an error ocurred

shader_io.ShaderImporter().import_material(new_object, the_shape)

File "C:\Users\Diseny\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\io_scene_nifly\shader_io.py", line 1214, in import_material self.nodes.remove(self.nodes["Principled BSDF"]) KeyError: 'bpy_prop_collection[key]: key "Principled BSDF" not found' INFO:pynifly:

PyNifly IMPORT of {'malebody_1.nif'} completed WITH ERRORS

and nothing is imported

I'm trying to import a base male body mesh

Jaume96 commented 4 months ago

It seems it is something related to Blender's Localization. I'm using Spanish

Jaume96 commented 4 months ago

Closing the issue, same problem here. https://github.com/BadDogSkyrim/PyNifly/issues/208

One temporary fix is to un-check the New Data tab under Translatin options in blender preferences.