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

IMGUI

-

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

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a12

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.