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

Package: Probuilder

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.