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
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
Add comment