Search Issue Tracker

Active

Under Consideration for 6.0.X

Votes

0

Found in [Package]

6.0.7

Issue ID

PBLD-266

Regression

No

Pressing to Edit ProBuilder Shape throws InvalidOperationException” warning in the Console window

Package: Probuilder

-

Steps to reproduce:
1. Create new Unity project using empty URP 3D Template
2. Open Package Manager window
3. Find and install ProBuilder package
4. Open Tools > Editors > Create PolyShape
5. Draw a Cube
6.Open Tools > Edit > Edit Shape
7. Observe the Console window

Actual results: “InvalidOperationException” warning is thrown when pressing to Edit Shape

Expected results: No warnings should be thrown when pressing Edit Shape

Reproducible with versions: 6.0.7 (6000.0.60f1, 6000.2.8f1, 6000.3.0b6 6000.4.0a2)

Tested on (OS): macOS Silicon, Tahoe 26.0 (M1)

Error:

  •  InvalidOperationException: The current selection does not contain any objects editable by the component tool of type: UnityEditor.ProBuilder.PolyShapeTool

UnityEditor.EditorTools.ToolManager.SetActiveTool (System.Type type) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Tools/ToolManager.cs:102)
UnityEditor.EditorTools.ToolManager.SetActiveTool[T] () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Tools/ToolManager.cs:89)
UnityEditor.ProBuilder.PolyShapeTool.ActivateEditShapeTool () (at ./Library/PackageCache/com.unity.probuilder@9b6693f09f97/Editor/EditorCore/PolyShapeTool.cs:251)

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.