Search Issue Tracker

In Progress

Fix In Review for 6000.0.X, 6000.1.X, 6000.2.0a10

Votes

1

Found in

6000.0.46f1

6000.1.0b14

6000.2.0a8

Issue ID

UUM-102691

Regression

No

"Toggle all debug panels" shortcut throws “NullReferenceException: Object reference not set to an instance of an object” error

-

*Steps to reproduce:*
1. Create a project
2. Create > Visual Effects > Visual Effect Graph
3. Open newly created VFX Asset
4. Press "shift" and "5" keyboard buttons to toggle all debug panels
5. Observe the Console

*Actual results:*
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXProfilingBoard.TogglePanelsVisibility () (at ./Library/PackageCache/com.unity.visualeffectgraph@776437aa73bb/Editor/GraphView/Profiling/VFXProfilingBoard.cs:140)
UnityEditor.VFX.UI.VFXView.ToggleDebugPanels () (at ./Library/PackageCache/com.unity.visualeffectgraph@776437aa73bb/Editor/GraphView/Views/VFXView.cs:1972)
UnityEditor.VFX.VisualEffectGraphShortcuts.CloseAllDebugPanels (UnityEditor.ShortcutManagement.ShortcutArguments args) (at ./Library/PackageCache/com.unity.visualeffectgraph@776437aa73bb/Editor/VisualEffectGraphShortcuts.cs:101)
UnityEditor.ShortcutManagement.Trigger.ExecuteShortcut (UnityEditor.ShortcutManagement.ShortcutEntry entry, UnityEditor.ShortcutManagement.ShortcutStage stage, System.Object context, System.Boolean reset) (at /Users/bokken/build/output/unity/unity/Modules/ShortcutManagerEditor/Trigger.cs:582)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:519)
{code}
error is thrown
*Expected results:* Debug panels are opened

*Reproducible with versions:* 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
*Couldn’t reproduce with versions:* 2021.3.50f1, 2022.3.61f1 (Shortcut doesn’t exist)

*Tested on (OS):* macOS Sequoia 15.3.1 (Intel)

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.