Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2017.4.6f1
Issue ID
1079566
Regression
No
RectInt.Contains doesn't consider RectInt's width and height being negative
Repro steps:
1. Open QA attached project "repro_1079566"
2. Open scene "0"
3. Enter Play Mode and observe the Console
Expected: Contains() regards the possibility that m_Width and m_Height could be negative
Actual: There's no option for m_Width and m_Height to be negative
Reproducible with: 2017.2.3p4, 2017.4.11f1, 2018.2.8f1, 2018.3.0b1
Notes:
- https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/RectInt.cs#L82
- https://github.com/Unity-Technologies/UnityCsReference/blob/master/Runtime/Export/Rect.cs#L104
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
Add comment