Pink material when using GLTFImport and GLTFAsset with Load() method after build mobile device #713
Replies: 1 comment
-
Most likely you're missing a specific shader variant in you build. Make sure to thoroughly read the documentation about materials and shader variants. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guy, I'm having trouble importing .gltf file from Google Cloud Storage using
GLTFImport.Load()
method orGLTFAsset.Load()
I had a Google Could Storage containing Draco compressed file. Went I used
Load()
method to load the file it showed me Pink material I guess it missing material.But when I run my app in Unity Editor everything works smoothly. the issue shows up after building a mobile device.
This is image about the bug play on mobile device:
![k06g7f7r](https://private-user-images.githubusercontent.com/103513832/358882478-38fa73d7-5aee-413b-a61e-65c16a52c0f5.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTA2NzQsIm5iZiI6MTczOTI5MDM3NCwicGF0aCI6Ii8xMDM1MTM4MzIvMzU4ODgyNDc4LTM4ZmE3M2Q3LTVhZWUtNDEzYi1hNjFlLTY1YzE2YTUyYzBmNS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQxNjEyNTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZWViMzI0Y2ZmY2I0MGIyNGU0YTMxOGIzYzU1NzAwN2I0ODJkOGRlMjI0ZDIyZDJmODk5OTEyOTc4MGU2OGM1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.6toyXuqVy6epJM32QPba87cDN2qtMy7UP2Xueq_8SLA)
This is image play on Unity Editor:
I'm stuck in here for almost one week. I need help pls.
Thanks!!!!
Beta Was this translation helpful? Give feedback.
All reactions