GLB Export not working #334
-
Hello guys, I can't succeed in exporting a GLB or glTF from Unity. I created a HDRP demo scene in Unity 2021.2.9f1, imported glTFast. Everytime I try to export a GLB or glTF file the resulting file is not working. You find a "video proof" and the files under this link: https://cloud.vrinsight.de/index.php/s/e443zGSrTrm9ZZf Can someone help me understanding the issue? Thank you very much and my regards Alex |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Ah by the way, this error also occurs sometimes when doing the same procedure like in the video: https://cloud.vrinsight.de/index.php/s/wktqYfYzHHPydaE
|
Beta Was this translation helpful? Give feedback.
-
@akuttervrinsightde Thanks for the report. Some of the float values (e.g. of the translation/rotation) are serialized using How it is in your files: "translation": [
-2,
35910491E-07,
1,
84,
2,
68133533E-07
] What should be: "translation": [
-2.35910491E-07,
1.84,
2.68133533E-07
] I'll fix it for the next release. |
Beta Was this translation helpful? Give feedback.
@akuttervrinsightde Thanks for the report.
Some of the float values (e.g. of the translation/rotation) are serialized using
float.ToString("R")
. This is not culture-invariant, so assuming your machin is configured to German the output is incorrect (comma instead of decimal point)How it is in your files:
What should be:
I'll fix it for the next release.