-
Notifications
You must be signed in to change notification settings - Fork 489
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
Incorrect import result for quantized model by gltfpack #693
Comments
Thanks for the report! cc @pfcDorn, would be great if you take a look. When you drag the UnityGLTF (quantized) import into the scene, does the model show up? I remember there being an issue about the bounds of models being incorrect in some cases, which breaks Unity's model preview, but doesn't actually break the imported model. |
hm...it seems to be more an scale issue here. When i set the import scale to 65000, then it has the same size as the gltfast import. So maybe it's a quantization issue here |
I have fixed it :) |
Please only close PRs when the fix has actually landed in a release! |
I'm trying to get UnityGLTF to work with files compressed using
gltfpack
but have been getting incorrect results.For example, this rigged character does not get imported correctly after running gltfpack whereas both gltf Viewer and gltFast import the model correctly before and after quantization. Even something as simple as the Avocado has different results before and after quantization.
I'm guessing it has something to do with quantization and the extra node transform that's applied by
gltfpack
, but I can't be sure yet. If I run gltfpack with-noq
(disable quantization) then it imports fine.Unity Version: 2021.3.31f1
UnityGLTF Version: 2.9.0-rc
Any insights would be appreciated!
The text was updated successfully, but these errors were encountered: