Search Issue Tracker

Won't Fix

Votes

1

Found in

2020.3.45f1

Issue ID

UUM-29304

Regression

No

Copying and pasting a nested long value loses data

--

-

Reproduction steps:
1. Open the “CopyPasteProject“ project
2. Open the “MyScene“ scene
3. In the Hierarchy select the “ObjectForCopying” GameObject
4. In the Inspector right-click the “Localized String“ property name and select Copy
5. In the Hierarchy select the “ObjectForPasting” GameObject
6. In the Inspector right-click the “Localized String” property name, select Paste, and observe the property

Expected result: the paste was successful and the property has no warnings
Actual result: the paste failed and a “The Table Collection `Test` is Missing an entry with the Key Id: 552787968“ warning is below the property

Reproduced in: 1.3.1, 1.4.2 (2020.3.0f1, 2020.3.42f1, 2021.3.15f1)
Not reproduced in: 1.3.1, 1.4.2 (2022.1.0b1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a22)
Could not test in: 1.0.5, 1.2.1 (2022.1.0a1, 2022.1.24f1) (Copy/Paste not introduced), 1.3.1, 1.4.2 (2022.1.0a1, 2022.1.0a16) (Addressables/Localization errors)

Reproduced using: macOS Monterey 12.6.1 (Intel), Windows 10 (by user)

  1. Resolution Note:

    SerializedProperty system doesn't support long values (see https://docs.unity3d.com/ScriptReference/SerializedPropertyType.html). So generic copy paste doesn't work as expected. This is too much of a core change to properly support it. If this is really needed it should be logged as a feature.

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.