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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Add comment