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

gltfasset material loss on load #101

Open
mwfarb opened this issue May 1, 2024 · 2 comments
Open

gltfasset material loss on load #101

mwfarb opened this issue May 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@mwfarb
Copy link
Contributor

mwfarb commented May 1, 2024

This may only affect a few gltf models, but some lose their materials on load, and it can effect other models. Load this model: https://arena-dev1.conix.io/store/users/agr/arena-scans/arena-occluder.glb.

  • Load from an Editor-time GltfAsset component. (optional)
  • Load from a Runtime GtTFast importer .Load() or .LoadFile().
  • At Editor-time the model has the right material.
  • At Runtime, the import of the same model causes both to lose their materials.
@mwfarb mwfarb added the bug Something isn't working label May 1, 2024
@mwfarb
Copy link
Contributor Author

mwfarb commented May 1, 2024

Leon might have the right thought if it's a "Unity asset reference problem, like some empty object with the same guid is imported over somehow".

@mwfarb
Copy link
Contributor Author

mwfarb commented May 1, 2024

There are a handful of import and instantiation settings that can be used on import, I wonder if the defaults aren’t quiet right.

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

1 participant