0
Not a bug

Shader error in 'Shader Forge/2side_standard': invalid subscript 'boxMax' at line 140 (on d3d11)

Jaejun-Kim 1 month ago • updated 1 month ago 2

current I got this error, when I built for Universal Windows Platform In Unity 2017.2.0f2

Is there something to solve?


when I built to others platform (ex PC, Android), it worked. but only uwp doesn't working


"Shader error in 'Shader Forge/2side_standard': invalid subscript 'boxMax' at line 140 (on d3d11)"

"Error building Player: Shader error in 'Shader Forge/2side_standard': invalid subscript 'boxMax' at line 140 (on d3d11)"

Compiling Vertex program with DIRECTIONAL SHADOWS_SCREEN VERTEXLIGHT_ON LIGHTMAP_OFF DIRLIGHTMAP_OFF DYNAMICLIGHTMAP_OFF Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 UNITY_HARDWARE_TIER1


Answer

Answer
Not a bug

Odd. It could be that box projection simply isn't supported on UWP. I would try disabling it for UWP specifically

Answer
Not a bug

Odd. It could be that box projection simply isn't supported on UWP. I would try disabling it for UWP specifically

thanks for replies, so looks like yet nowhere how to solve that, once I am making without using the shader codes. I hope so it fixed as soon as possible.