Search Issue Tracker

Fixed

Fixed in 6.0.X

Votes

0

Found in [Package]

6.0.4

Issue ID

PBLD-180

Regression

Yes

Layout and shortcut errors are thrown in the Console when the Editor is restarted while the Material Editor window is visible

Package: Probuilder

-

How to reproduce:
1. Create and open a new project
2. Install the ProBuilder package in the Package Manager
3. Open the Material Editor window (Tools > ProBuilder > Editors > Open Material Editor)
4. Restart the project
5. Observe the Console and the Material Editor window

Expected results: The Project opens with no errors and the Material Editor window is displayed correctly
Actual results: The Console is filled with 32-48 errors of two kinds of errors and the Material Editor window is corrupted

Reproducible in: 6.0.1-pre.2 (6000.0.25f1), 6.0.4 (6000.0.25f1)
Not reproducible in: 5.2.3 (2021.3.45f1, 2022.3.51f1), 6.0.1-pre.1 (6000.0.25f1)

Reproduced on: Windows 11 Pro (23H2), macOS 15.0.1 (M3, by the reporter)
Not reproduced on: No other environment tested

Notes:
- Material Editor window fixes itself when it is clicked on
- This is reproducible every time the Material Editor window is visible before closing the project
- Part of error 1 reads: “ArgumentException: Shortcut not available…“
- Part of error 2 reads: “GUI Error: Invalid GUILayout state in MaterialEditor view…“

  1. Resolution Note (fix version 6.0.X):

    Fixed an issue in the Material Editor where an exception was thrown because it attempted to retrieve MenuItem shortcuts before the main menu was fully loaded.

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.