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
- Edge detection fails, _BlitTexture_TexelSize is 0
- Rotating GameObjects is not possible when transform.up is assigned through script
- [Android] Shadowmap Shadows have graphical errors on Android when the default Screen Recorder setting is turned on
- Editor crashes on physx::PxcDiscreteNarrowPhasePCM or freezes when instantiating many GameObjects
- [RenderingDebugger] Wireframe mode is not fully rendered in the Scene View
Add comment