We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
バグについて
https://github.com/vrm-c/UniVRM/blob/master/Assets/VRM/UniGLTF/Scripts/IO/ImporterContext.cs#L333
行において、mesh.name が null になっている場合、NullReferenceException が出ます。
再現方法
特に一般的な GLTF モデルでは顕著です(他アプリでエクスポートされた場合、全てのメッシュが名無しもある?)。
(例) https://sketchfab.com/3d-models/hampton-lake-dam-post-hurricane-irma-a28144252dc74062a40672b5de3b7120 https://sketchfab.com/3d-models/floating-island-of-the-potion-brewer-555992efd5c74cf299f5a3ab4acd0a3b
期待する動作
私が試したところ、例えば、
if (string.IsNullOrEmpty(mesh.name)) { mesh.name = Guid.NewGuid().ToString(); }
のように、適当な文字列を入れてみたら、普通にロードできました。
命名規則などもあるかもなので、ご報告だけしておきます。
環境情報
The text was updated successfully, but these errors were encountered:
set name if name is null vrm-c#545
13fd098
この修正で hampton_lake_dam_post_hurricane_irma ロードできました。
hampton_lake_dam_post_hurricane_irma
Sorry, something went wrong.
No branches or pull requests
バグについて
https://github.com/vrm-c/UniVRM/blob/master/Assets/VRM/UniGLTF/Scripts/IO/ImporterContext.cs#L333
行において、mesh.name が null になっている場合、NullReferenceException が出ます。
再現方法
特に一般的な GLTF モデルでは顕著です(他アプリでエクスポートされた場合、全てのメッシュが名無しもある?)。
(例)
https://sketchfab.com/3d-models/hampton-lake-dam-post-hurricane-irma-a28144252dc74062a40672b5de3b7120
https://sketchfab.com/3d-models/floating-island-of-the-potion-brewer-555992efd5c74cf299f5a3ab4acd0a3b
期待する動作
私が試したところ、例えば、
のように、適当な文字列を入れてみたら、普通にロードできました。
命名規則などもあるかもなので、ご報告だけしておきます。
環境情報
The text was updated successfully, but these errors were encountered: