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)
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.