My wild guess is that for some reason if you set global Matrix in OnRenderImage function it overrides the previous matrix placement reserved by the SkyMatrix setting. And error ONLY occurs in builds not inside Unity. Because first of all the names are totally different and it seems to work if I move my own matrices setting code into Update instead. I have no idea why and how it can ever even touch SkyMatrix at all. FOR SOME REASON, when you do this inside OnRenderImage function it some how corrupts the SkyMatrix. Obviously, the matrix names are not the same as SkyMatrix. ![]() Basically, I am setting few of my own Matrices from within OnRenderImage function. ![]() Is there any specific build setting I need to be aware of when I use SkyShop?Įdit : Ok, I have made break through after countless building of the scene. Strange thing is they work fine in Editor, (game running) Just doesn't work in builds. Click to expand.I will check but yes I am using the latest version of Unity.
0 Comments
Leave a Reply. |