UnityGLTF
UnityGLTF copied to clipboard
i build and run my unity project and i found only pink object. if someone know please help me.
as u can see it all a pink
here is a player log
i try to add a UnityGLTF/PBRGraph into a shader variant but i cant found it anywhere in my unity project.
Hey, could you please provide more info?
- which Unity version
- which SRP (e.g. URP version)
- which UnityGLTF version
- which build target (looks like Windows Standalone?)
If you can upload a .unitypackage that reproduces the problem that would also be appreciated.
- My unity version is 2022.3.15f1
- i dont know that.i a very newbie in unity sorry.
- My UnityGLTF version is 2.11.0-rc 4.now i build in window
al
all my package
https://drive.google.com/file/d/1i-cxGAI-I_iEgbk4NE4jbGUUQh7f-uYq/view?usp=sharing
no one help me than
I'm not sure how quickly you expected someone to help but you closed this only 4 days after the last reply. If you need support on open source faster than that then you might need to hire someone. On the whole people are helping out as volunteers and not getting paid to provide support.
Plus there's vacations, sick childs, general live things... Someone will look at it :)
Most likely reason is that some shader variants are missing in the build, and need to be added via Shader Variant Collection. Another reason could be that you have both GLTFUtility and UnityGLTF (but they should be able to coexist).
So i had the same problems already in Unity. You have to put the PBRGraph normaly in the allways include shaders. But thats also a bad idea because the PBRGraph will now Compile over 200k of shader variants. The best way until now is to place the shader on an object in the scene who holds a reference to this PBRGraph and PBRGraph unlit.
I will close this issue.
With the latest update you can find two predefined ShaderVariantCollection: one for BuildIn RP and one for URP/HDRP. Just add the correct one to the project settings/graphics. That should include all UnityGltf shader variants for runtime loading.
When there is still an issue, please create a new one. Thanks :)
Thank you. it's help me a lot
จาก: pfcDorn @.> ส่ง: 16 ตุลาคม 2567 7:49 ถึง: KhronosGroup/UnityGLTF @.> สำเนาถึง: KoaLa2425 @.>; State change @.> ชื่อเรื่อง: Re: [KhronosGroup/UnityGLTF] i build and run my unity project and i found only pink object. if someone know please help me. (Issue #735)
I will close this issue.
With the latest update you can find two predefined ShaderVariantCollection: one for BuildIn RP and one for URP/HDRP. Just add the correct one to the project settings/graphics. That should include all UnityGltf shader variants for runtime loading.
image.png (view on web)https://github.com/user-attachments/assets/178da860-67bd-4f9d-9622-2a4b5c276af9
When there is still an issue, please create a new one. Thanks :)
— Reply to this email directly, view it on GitHubhttps://github.com/KhronosGroup/UnityGLTF/issues/735#issuecomment-2415989936, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A254JLSTWKAQ4AKTTMXYTTDZ3YLBVAVCNFSM6AAAAABGOSFBXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVHE4DSOJTGY. You are receiving this because you modified the open/close state.Message ID: @.***>