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
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
Add comment