Search Issue Tracker
Fixed
Fixed in 5.0.7
Votes
0
Found in [Package]
5.0.7
Issue ID
PBLD-71
Regression
No
"DivideByZeroException: Attempted to divide by zero." is thrown when resizing the ProBuilder window vertically to as small as possible
How to reproduce:
1. Open the attached project "Bug Test.zip"
2. Open Tools>ProBuilder>ProBuilder Window
3. Dock the ProBuilder window anywhere in the Editor
4. Resize the ProBuilder window vertically to as small as possible
Expected results: No errors thrown in the Console window
Actual results: "DivideByZeroException: Attempted to divide by zero." is thrown
Reproducible with: 5.0.7 (2023.1.0a19), 5.1.0 (2022.3.4f1, 2023.1.0a19)
Not reproducible with: 5.0.7 (2023.1.2f1), 5.1.0 (2021.3.28f1, 2023.1.0a20, 2023.1.2f1, 2023.2.0a21)
Reproducible on: Windows 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Add comment