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

Some models don't export valid VRMs (Uint32Array multiple of 4) #66

Open
madjin opened this issue Nov 14, 2023 · 5 comments
Open

Some models don't export valid VRMs (Uint32Array multiple of 4) #66

madjin opened this issue Nov 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@madjin
Copy link
Member

madjin commented Nov 14, 2023

I notice it just hangs when importing to hyperfy or https://vrm-validator.fern.solutions/, tried all the different options for atlas
image

@madjin madjin added the bug Something isn't working label Nov 14, 2023
@lalalune lalalune modified the milestone: MVP Dec 4, 2023
@madjin madjin changed the title Optimization: Some models don't export valid VRMs Some models don't export valid VRMs (Uint32Array multiple of 4) Dec 12, 2023
@madjin
Copy link
Member Author

madjin commented Dec 12, 2023

@memelotsqui
Copy link
Collaborator

memelotsqui commented Dec 12, 2023

image
probably the error is happening somewhere around lines 273 and 318 in VRMExporterV0.js, when saving sparse accessor data im probably missing to set correctly 4 byte boundery

@madjin
Copy link
Member Author

madjin commented Dec 12, 2023

just tested 1558 and it seems like some with no atlas option selected are also producing this error, HOWEVER it is still able to load in hyperfy. (shown below is no atlas)
image
image

but the one that doesn't produce this error throws an error and won't load (shown below is with atlas)
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants