Search Issue Tracker
Fixed in 2022.1.X
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.16f1
2021.2
2022.1
Issue ID
1354745
Regression
No
Multi-selected object LocalizedString values are overwritten when CanEditMultipleObjects attribute is enabled
Reproduction steps:
1. Open the attached "Localization Multiple Objects Test.zip" project
2. In the Project window, go to the "SampleObjects" folder
3. In the Inspector window, observe that each "SampleDef" object has a unique "Test Name" value
4. Open the "SampleDefinitionEditor" Script (Assets > Scripts > Editor)
5. Change the 6th line to "[CustomEditor(typeof(SampleDefinition)), CanEditMultipleObjects]"
6. Save the Script
7. In the Project window, go to the "SampleObjects" folder
8. Select multiple "SampleDef" objects at once
9. Deselect the selected "SampleDef" objects
10. Select "SampleDef" objects individually observing their values in the Inspector
Expected result: "Test Name" values did not change
Actual result: "SampleDef" objects that were multi-selected now share the same "Test Name" values
Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.15f2, 2021.1.16f1, 2021.2.0b6, 2022.1.0a11
Not reproducible with: 2022.1.0a12
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a12