Search Issue Tracker
By Design
Votes
0
Found in
2020.3.38f1
2021.3.8f1
2022.2.0b5
2023.1.0a6
2023.2.0a1
Issue ID
UUM-12278
Regression
No
"Some values are driven by Canvas" message isn't shown when Prefab is selected in the Project Browser
How to reproduce:
1. Open the user’s attached “UnityBug_RectTransformPrefabVariant” project
2. Select the “Canvas” Prefab in the Project Browser
3. Observe the “Rect Transform” Component in the Inspector
Expected result: Component is greyed out with the “Some values are driven by Canvas” message in the Inspector
Actual result: Component isn’t greyed out, leading to modification allowance to the serialized fields under the Component
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.13f1, 2022.2.0b5, 2023.1.0a6
Reproduced on: macOS 12.3 (Intel)
Note:
Prefab instances in the Hierarchy are working as expected
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
- WebGL build is missing "malloc" and "free" functions when passing "-sERROR_ON_UNDEFINED_SYMBOLS=0" to emscriptenArgs
- UI Toolkit Slider element is not controlled correctly when using a gamepad controller
- Audio output is of low volume when the Speaker Mode is set to Quad and the Audio Source in the Scene is behind the Camera
- A user gets an error "Failed to import package with error: Cannot import package in play mode." when tries to import TMP essentials, examples or extras
- The Particle System's ShowOnlySelected function doesn't work when toggled via a shortcut
Resolution Note:
In the attached project, the prefab does not know where the object will be landed in the hierarchy. If it is put in the root level, its values are driven by Canvas. However, if it is put in the child level, the values are directly coming from the prefab. Therefore, it might or might not be driven by Canvas depending on how it will land on the hierarchy. Not showing the "Some values are driven by Canvas" message is appropriate here until it lands on the hierarchy. In addition, this behavior has been consistent since 2019.1. So the overall behavior is consistent, expected and documented (https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/UIBasicLayout.html).