Search Issue Tracker
Active
Votes
1
Found in
2.9.1
Issue ID
UUM-107302
Regression
No
The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Project window, select “ItemList”
3. For Element 0, select “ItemA“
4. Click the “+” button
5. For Element 1, select “ItemB“
6. For Element 0, click on a small circle on the right of its field
Expected result: The Select Addressable Asset window opens, but “ItemB” is not selected
Actual result: Element 0 automatically selects “ItemB”
Reproducible with: 2022.3.62f1, 6000.0.49f, 6000.1.4f1, 6000.2.0b2
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- This might be breaking the assignment at the point of assigning the second element, just no change event seems to be created
- This also breaks the same way if you don't assign any assets to Element 0
- If you add more elements into the list/array, it always breaks with the last element modifying the second last element
- Subsequent reassignments of those elements do not break this way
- OnValidate is never called for assigning the last element, unless you're assigning it to None. This is not consistent with normal behaviour with a list/array of Item rather than AssetReferenceT<Item>, where OnValidate is called for every assignment.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Compiler IPC Exception and Editor Crash on AMD 9000-X3D CPU series
- Editor crashes in TextLib::FindIntersectingLink when hovering UITK Labels with <link> tags rendered via ATG
- Crash on mono_log_write_logfile when more than one copy of bee_backend is running
- NativeList<T>.ParallelWriter.AddNoResize() causes memory corruption when used in a [BurstCompile] IJobParallelFor on Web builds
- Realtime reflection probe changes light strength when removing light sources using URP WebGL
Add comment