Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2019.4.29f1
2020.3
2021.1
2021.2
Issue ID
1348788
Regression
No
Inspector does not allow Multi-object editing after adding a CanEditMultipleObjects attribute and re-compiling the code
Steps to reproduce:
1. Download and open the project "RefProject.zip"
2. Open Assets/SampleScene.unity
3. Select all the "Gradient" GameObjects in the Hierarchy
4. Notice that the "Gradient Beh" Script in the Inspector shows "Multi-object editing not supported"
5. Open the Assets/GradientBeh.cs
6. Uncomment line 18 and comment line 19
7. Switch back to the Editor and wait for the Script to re-compile
8. Notice the Inspector
Expected result: The Inspector allows Multi-object editing
Actual result: The Inspector does not allow Multi-object editing until the GameObjects are re-selected
Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.15f1, 2021.2.0b4
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note (fix version 2022.1):
Fixed in - Unity 2022.1.0a8