Unity Issue Tracker - Negative Enum value is not pasted correctly when copying from another array
Closed
UUM-112845
Negative Enum value is not pasted correctly when copying from another array
Unity: Inspector Framework
Won't Fix
6.4.X
6.3.X
6.2.X
6.1.X
6.0.X
Cancelling: the 6000.1 version has reached its end of life. If you need additional fixes, please upgrade to a newer Unity version.
How to reproduce:
1. Open the “IN-109456_EnumCopyBug“ project
2. Open the “SampleScene”
3. In the Hierarchy select “MyGameObject”
4. In the Inspector in “My Component” right-click the “Copy From” array and select “Copy”
5. In “My Component” right-click the “Copy To” array and select “Paste”
6. Observe the “Copy To” arrays “Element 0” value
Expected result: The value is “-5”
Actual result: The value is “0”
Reproducible with: 2023.2.0a11, 6000.0.54f1, 6000.1.14f1, 6000.2.0b12, 6000.3.0a3
Could not test with: 2023.2.0a10 (There is no option to copy the array)
Reproducible on: macOS 15.5 (M1 Max), Windows 10 (by user)
Not reproducible on: no other environments tested
Note: Did not reproduce with “int” array
Prioritise and Follow this issue
Have a workaround or additional info about this issue?