Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.2
2020.2.0b2
Issue ID
1279145
Regression
No
Custom Editor - Selected object's fields not displayed after selecting multiple objects without CanEditMultipleObjects
Reproduction steps:
1. Open attached project "MultiSelect.zip" and scene "Scene"
2. In Hierarchy window, select all three "Script" GameObjects
3. In Hierarchy window, select one of the three "Script" GameObjects
4. In Inspector window, observe "Script (Script)" component
Expected result: Inspector behaves as usual
Actual result: "Script" component does not display any fields
Reproducible with: 2019.4.11f1, 2020.1.6f1, 2020.2.0b3
Could not test with: 2018.4.27f1 (Multi-object editing is handled differently)
Notes:
1. Giving the scripts [CanEditMultipleObjects] attribute fixes the issue
2. Selecting a different object of the same type after step 4 makes the Inspector behave as usual again
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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a1