+11
Fixed

Unity 5.5 (and the patch) breaks reflection probe support

Dan 7 years ago updated by Freya Holmér (Developer) 7 years ago 11

From Unity 5.5, reflection probe support being enabled will generate an error
Shader error in 'Shader Forge/TestShader': invalid subscript 'boxMax' at line 137 (on d3d11)


This will occur on any shader that's compiled with shader forge running on 5.5, shaders that were compiled on previous versions of unity don't seem to suffer the issue until they are recompiled by shader forge on 5.5

Answer

Answer
Fixed

This has now been fixed in SF 1.31

I also have same problem with Unity 5.5. I really want to know when this problem is solved.

Under review

Somehow I can't reproduce this. Are you using Unity 5.5.0f3 and Shader Forge 1.3?

+1

I'm using unity 5.5.0p1 and Shader Forge 1.3 and android build setting(open GL ES 2.0). Is 5.5.0f3 free with that reflection probe supporting issue?

5.5.0f3 is the one I was testing it in, which appeared to work just fine

After switching to android platform? I tested on macbook pro & windows pc both are having the same issue. Both are using 5.5.0f3 & ShaderForge 1.3

switch to mobile android or ios

I switched to 5.5.0p3 and now I'm having the same "boxMax" issue on a project I'm working on. Getting the solid magenta material. I developed the shader in 5.4.1p4 and it worked fine, but the client is using 5.5.0p3 and needs it to work in that version.


I tried reimporting SF 1.3 but still same issue. iOS platform.

Just to add, I also tried testing my shader in 5.5.0f3 and I still get the "boxMax" issue and magenta material.


I also tried creating a fresh Shader Forge shader from the PBR template and no modifications. Still get the error and magenta material.

+1

I'll prioritize this for the next update!

Thanks so much, Joachim!

Answer
Fixed

This has now been fixed in SF 1.31