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

Error saving mesh - Failed to write block bhkCompressedMeshShapeData #242

Open
del953 opened this issue Mar 15, 2024 · 1 comment
Open

Comments

@del953
Copy link

del953 commented Mar 15, 2024

I get the following error in NifSkope 2.0 Dev 9 when I try to save the Skyrim SE file Meshes\architecture\whiterun\wrinteriors\wrcastle\wrintcastlefloorwoodmid01.nif

Failed to write block bhkCompressedMeshShapeData (2)

I simply open the file and try to save it without making any changes. In NifSkope 2.0 Dev 7 it saves without an error.

@fo76utils
Copy link

fo76utils commented Mar 16, 2024

This is a known issue, it has been previously reported here. There is no updated release by Hexabits yet, but the error is fixed in some other forks, including mine.

gavrant added a commit to gavrant/nifskope that referenced this issue Jul 23, 2024
…Data blocks

Fixes hexabits#67 , niftools#242

Bonus: refactored the NifStream code so this kind of bugs would happen less likely in the future (added asserts in strategic places, moved boilerplate code to macros or functions, and so on). This refactor also fixes a few other potential bugs on reading and writing meshes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants