Search Issue Tracker

Fixed

Fixed in 5.0.x

Votes

0

Found in [Package]

5.0.1

5.0.3

5.0.4

Issue ID

PBLD-19

Regression

No

"transform.position assign attempt for 'Cube' is not valid" error is thrown when creating a Shape with Perspective set to Top

Package: Probuilder

-

# Open the attached project "PerspectiveTop.zip"
# Open the "SampleScene" Scene
# In the Scene view top right corner set Perspective to Top
# From menu open Tools > ProBuilder > ProBuilder Window
# Press NewShape
# Try to draw any shape

Expected result: Shape is created successfully
Actual result: "transform.position assign attempt for 'Cube (2)' is not valid. Input position is { NaN, NaN, NaN }.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" and "OverflowException: Value was either too large or too small for an Int32." errors are thrown in the Console

Reproducible with: 5.0.1, 5.0.3, 5.0.4 (2020.3.36f1), 5.0.3, 5.0.4 (2021.3.5f1), 5.0.4 (2022.1.8f1, 2022.2.0a19, 2023.1.0a2)
Could not test with: 4.5.2 (2020.3.36f1) - There is no menu that would let to create custom shapes by hand

Tested with: macOS (M1 Max) OS version 12.4

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.