Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0b10
Issue ID
845464
Regression
Yes
Shader upgrader fails if skipping Unity versions
- Import Edy's Vehicle Physics project from the Asset Store in an older Unity version (in my case Unity 5.5.0b5)
- Open the project in a more recent Unity version (in my case Unity 5.5.0b10)
- Open scene "The City - Simple Scene" and run it in the editor
- The following error is printed in the console:
"Shader error in 'Custom/EVP Tire Marks': unrecognized identifier 'UNITY_INSTANCE_ID' at line 81 (on d3d11)
Compiling Vertex program with DIRECTIONAL
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA
"
If opening the project in consecutive Unity versions (b8, b9, 10, etc) the error does not show up. This means that the shader upgrader tool only works properly if upgrading the project going through each consecutive Unity build
Reimporting the shader manually fixes the issue
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment