Skip to content
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

I have prompted many errors when importing nif. How can I solve them #595

Closed
mirkiss opened this issue Aug 18, 2023 · 1 comment
Closed
Assignees
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.

Comments

@mirkiss
Copy link

mirkiss commented Aug 18, 2023

Blender 3.6
Python 3.11.2
Nif version 20.3.0.9(Gamebryo 2.3)
Blender_niftools_addon version v0.1.1

The error code is as follows:
Python: Traceback (most recent call last):
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 134, in execute
return NifImport(self, context).execute()
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\nif_import.py", line 74, in execute
self.load_files() # needs to be first to provide version info.
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\nif_import.py", line 140, in load_files
NifData.init(NifFile.load_nif(NifOp.props.filepath))
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\file_io\nif.py", line 65, in load_nif
data = NifFormat.NifFile.from_stream(nif_stream)
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif_init_.py", line 533, in from_stream
instance.resolve_references()
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif_init_.py", line 423, in resolve_references
resolved_ref = self.blocks[block_index]
IndexError: list index out of range

My nif file #589 @Candoran2 @amorilia @NickDickinsonWilde @Alphax @hexabits @svip

ModNIF.zip

I can open it normally in Nifskope

20230819060623

@mirkiss mirkiss added the Bug Issue with specific functionality not working as intended but overall plugin is working. label Aug 18, 2023
@Candoran2
Copy link
Member

Which game is this from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working.
Projects
None yet
Development

No branches or pull requests

3 participants