Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b21
Issue ID
806580
Regression
Yes
[Shaders] Some _Object2World references are not changed to unity_ObjectToWorld in 5.4
Reproduction Steps:
1. Create new project on Unity 5.3.4f1
2. Create new Shader
3. Copy Paste code from edit to the Shader
4. Notice that it compiles
5. Close project
6. Open this project with Unity 5.4.0b21
7. Notice that it does not compile anymore
Expected: All references to "_Object2World" should change to "unity_ObjectToWorld"
Actual: Not all references are changed. It is not renamed if "_Object2World" is followed by a period. (_Object2World.???)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Dropdown Menus are filled with empty entries when the Menu intersects with the Editors borders
- [HDRP] [Metal] Tiled artefacts when using DRS
- [HDRP] Empty template starts with incorrect Physically Based Sky ground
- Big chunk of "Untracked" memory in the Memory Profiler screenshot when a custom .obj file is loaded while in Play Mode
- Video contains artifacts when played in the Video Preview section in the Inspector Window
QuantumTheory
Jul 14, 2016 21:25
Tested in 5.4.0f1. I have source control enabled and the shaders were not checked out, therefore they were not updated until I checked them out. Just a heads up.