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
- ResolveUsePasses now extracts passes from all subshaders including fallbacks, in contrast to documented behaviour
- [UIBuilder] Changes aren't detected on types implementing IList
- [HDRP] Text is rendered with artefacts when using STP and resolution scale is set a float value
- [Settings Search] Search results not always matching search term correctly
- Crash on memcpy when opening a project that loads TSS files
Add comment