Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.2.X
Votes
0
Found in
2018.4
2020.1.5f1
2021.1
Issue ID
1282571
Regression
No
int.MinValue is treated as largest value when sorting List<IOrderedCallback>
How to reproduce:
1. Open the user's attached project("IOrderedCallback.callbackOrder.zip")
2. Open Test Runner window
3. Select the EditMode tab
4. Press Run All
Expected results: When sorting with int.MaxValue or int.MinValue the sort is correct
Actual results: When sorting with int.MaxValue or int.MinValue, int.MaxValue is treated as larger than int.MaxValue
Reproducible with: 2018.4.28f1, 2019.4.13f1, 2020.1.10f1, 2020.2.0b8, 2021.1.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- IL2CPP Player crashes when there aren't enough Thread Static Slots
- Articulation Body tree changes behavior after attaching a trigger Collider
- Fatal freeze when playing a VFX made with VFX Graph and consisting many effects
- "Failed to download Build.data.br file" error is thrown when building projects for WebGL with the Compression Format set to "Brotli"
- Documentation Link does not work when the "New Panel Settings" question mark is clicked
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0a8 and above
Resolution Note (fix version 2020.2):
Fixed in Unity 2020.2.2f1 and above
Resolution Note (fix version 2019.4):
Fixed in Unity 2019.4.19f1 and above
Resolution Note (fix version 2018.4):
Fixed in Unity 2018.4.32f1 and above