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

NoneType object has no attribute 'name' error #173

Closed TokyoSU closed 10 months ago

TokyoSU commented 1 year ago

[SkyrimLE,Blender3.6] Tried opening dockstepsdownend01.nif but it ended up as error: error_type EDIT: some files have this error, found 2 in the architecture folder but there is problably more.

BadDogSkyrim commented 12 months ago

Looks like maybe you tried to import a nif with something selected, and it wasn't an armature.

This should work, especially given that this isn't a skinned mesh. For now, just make sure you have nothing selected when you do the import.

TokyoSU commented 12 months ago

Nope tried without anything selected and it still throw an error, also it happen with many files:

farmhouse01walkway.nif
farmhouse02.nif
farmhouse02walkway.nif
farmhouse03.nif
farmhouse03walkway.nif
farmhouse04.nif
farmhouse04walkway.nif
farmhouse05.nif
farmhouse05destroyed01.nif
farmhouse05destroyed02.nif
fencewoven01.nif
fencewoven02.nif
lumbermill01.nif
lumbermill01waterwheel01.nif
lumbermill01waterwheel02.nif
smith01.nif

PS: these don't have any animations so no skeleton.nif/hkx (even tested without 'Import Animations' and 'Create bones' without success)

BadDogSkyrim commented 12 months ago

Yup. Damn.

TokyoSU commented 11 months ago

Checked the previous version (v12.0) and it happen on it too.

BadDogSkyrim commented 10 months ago

It's a block type that's not handled. I'll do better error checking and probly implement the block type.

BadDogSkyrim commented 10 months ago

Fixed in latest.