HI, I have problem with UI. When I play game in Unity everything works properly, but after I build game and turn on camera with UI everything breaks down. Canvas in some frames turns off, it bekomes invisible, Raw Image with RenderTexture change into broken texture (black texture with some numbers, i think), buttons texture in some framse becomes invisible, objects with text crashes (i don't know how, i just can see in some frames that i couldn't read that text). And finaly (in random frame when UI is on screen) game crashes with error 0xc0000005 (Read from location 45cb4f9c caused an access violation.) That location was never the same.
I read something about that error and i find solution which don't help me. In GraphicsSettings i must have some "Always Included Shaders" but i have 6 of them which must be included. Then i tried include some shaders which i think could help, but i was wrong and all canvas after build changed into pink texture. So can you help me which shaders should i include for UI? Because i'm sure the problem is in UI because game crashes only when some UI is on.
↧