Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.0f3
Issue ID
903810
Regression
Yes
Updating a 5.4.x - 5.5.x project to 5.6.x and above changes the "Serialized Gradient" field values
Repro steps:
1. Open attached project (Using 5.4.x - 5.5.x)
2. Look at the gradient values on the "Cube" prefab in the "Project" window
3. Look at the gradient values on the "Cube" in the "Hierarchy" window
4. Open the same project (Using 5.6.x and above)
5. Look at the gradient values on the "Cube" prefab in the "Project" window (Everything is the same as before, as expected)
6. Look at the gradient values on the "Cube" in the "Hierarchy" window (The Gradient changed to the prefabs gradient, not expected)
Expected result: For both of the gradients to stay the same as set before
Actual result: The prefabs gradient stayed the same,while the objects gradient changed back to the prefabs gradient.
Reproduced with: 5.6.0f3 ,5.6.0p1 ,5.6.0p2 ,2017.1.0a6 ,2017.1.0b1 ,2017.1.0b2
Regression introduced in: 5.5.3p2
Note:
After completing the steps and seeing the change in the gradients values, if you open the project again with 5.4.x - 5.5.x, the gradient changes back to what it was set (Different than the prefab)
Also attached gifs
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (2018.3.X):
Due to how prefabs handles override there is no way to handle these failures.
Problem is that some component changed its serialization but because Prefab override knows nothing about types nor has a good upgrade system like the Transfer function, then there is no way to fix it.