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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment