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.???)
Comments (1)
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
- Terrain Tree cast Realtime and Baked shadows simultaneously when "Mixed" Light mode and "Subtractive" Baked Illumination is used in Edit mode
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
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.