Search Issue Tracker
Fixed
Fixed in 1.0.X - Entities
Votes
0
Found in [Package]
1.0.X - Entities
Issue ID
ECSB-291
Regression
No
NativeList.Sort can alter values in a NativeList when a CompareTo method never returns 0
How to reproduce:
1. Open the attached Project "NativeListTest" and load Scene "SampleScene"
2. Enter Play Mode
3. Observe the Errors thrown in the Console
Expected results: No Errors are thrown in the Console
Actual results: Errors indicating changes to a NativeList's values can be seen
Reproducible with: Entities 1.0.0-pre.65 (2022.2.17f1, 2023.1.0b14, 2023.2.0a12)
Could not test with: Entities 0.17.0-preview.42 (Errors are thrown in the Console)
Notes:
- The Errors indicate which element of the NativeList changed the value
- The Logs before the Error show the values of a NativeList before and after calling NativeList.Sort
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Add comment