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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment