Search Issue Tracker
Fixed
Fixed in 6000.0.49f1, 6000.1.5f1, 6000.2.0a10, 7000.0.0a1
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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- [Linux] Numeric field value stops increasing when cursor reaches the edge of the monitor while dragging
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- "Add Component" button overlaps the Volume component UI when creating a new Volume Profile in a wide Inspector on high-DPI scaling
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment