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

GLB loading fails with KeyError: 'POSITION' #2316

Open
JulianKnodt opened this issue Nov 1, 2024 · 0 comments
Open

GLB loading fails with KeyError: 'POSITION' #2316

JulianKnodt opened this issue Nov 1, 2024 · 0 comments

Comments

@JulianKnodt
Copy link

Hi again,
I've found a crash where (I believe) if a node has no vertices then Trimesh fails to load a glb file.

I've had to convert it to a txt file since github doesn't support GLB files. If you'd prefer I email it to you, I can also do that.

I've verified that this occurs on Mac & Windows, with trimesh version 4.5.1.

Traceback:
image

File (extension is txt since I ran cp etrian_odyssey_3_monk.glb etrian_odyssey_3_monk.txt):
etrian_odyssey_3_monk.txt

As an aside, if I try to load this mesh without skip materials, it also fails, but that's avoidable by adding skip materials.

@JulianKnodt JulianKnodt changed the title GLB loading fails ke GLB loading fails with KeyError: 'POSITION' Nov 1, 2024
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

1 participant