Search Issue Tracker

Won't Fix

Votes

3

Found in [Package]

5.2.2

Issue ID

PBLD-125

Regression

No

ProBuilder window spams errors when opened and interacted in the Text Mode

Package: Probuilder

-

How to reproduce:
1. Open the user-attached project “ProbuilderError”
2. In the Toolbar click Tools → ProBuilder Window
3. Make sure the ProBuilder Window is in Text Mode and hover over the elements in it
4. Observe the Console

Expected results: No errors are thrown into the Console
Actual results: The errors are spammed on window opening and each time you hover over the elements

Reproducible with: 5.2.0, 5.2.2 (2022.3.29f1)
Not reproducible on: 5.2.0, 5.2.2 (2021.3.38f1)
Can’t test with: 6.0.1 (6000.0.2f1) (No ProBuilder window)

Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested

Errors:
Trying to read value of type Dimension while reading a value of type Enum
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Trying to read value of type Float while reading a value of type Enum
UnityEditor.ProBuilder.MenuItems:OpenEditorWindow () (at ./Library/PackageCache/com.unity.probuilder@5.2.2/Editor/EditorCore/MenuItems.cs:19)

  1. Resolution Note:

    The problem is corrupted Package Cache in the Library folder of user's bug report project. Issue does not reproduce when using a fresh project with same editor and ProBuilder versions.

    Here are steps to fix this on user's end:
    1) Close the project/unity.
    2) Go to project's root directory.
    3) From there open Library/PackageCache
    4) Delete directories: com.unity.modules.ui@1.0.0 and com.unity.modules.uielements@1.0.0
    5) Reopen the project
    6) From the top menu bar, select "Assets -> Reimport All"
    7) Unity will reload the project and the issue should be gone.

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.