Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.5f1
Issue ID
1061357
Regression
No
[NET 3.5] Linq Sort with a Comparer that always returns 1 results in an IndexOutOfRange exception
To reproduce:
1. Open the attached project (QuickSortIssue.zip)
2. Click Sorting -> Run in top menu bar
3. Observe the exception in the console
Expected: the exception is not thrown
Reproduced in 2017.2.3p2, 2017.3.2f1, 2017.4.5f1, 2018.1.9f1, 2018.2.0f2, 2018.3.0a5
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Resolution Note:
This issue doesn't reproduce in new mono (.NET 4.x Equivalent). It is not something we are going to fix in old mono at this point, given old mono is deprecated in 2018.3. I'd encourage you to upgrade to the new scripting runtime if possible.