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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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.