Search Issue Tracker
Fixed
Fixed in 2023.1.10f1, 2023.2.0b6, 2023.3.0a1
Votes
0
Found in
2023.1.7f1
2023.2.0b3
2023.3.0a1
Issue ID
UUM-44774
Regression
Yes
Editor crashes with 'Graphics device is null' when using the sync version of SceneManager.LoadScene
How to reproduce:
1. Open the user attached “repro-project” project
2. Open the “WebCamTextureToMatExample” Scene
3. Enter Play Mode
4. Press the “Back” button in Game view
5. Exit Play Mode
6. Open WebCamTextureToMatExample.cs and navigate to line 389
7. Change `LoadSceneAsync` to `LoadScene`
8. Repeat steps 3 and 4
9. Observe crash
Reproducible with: 2023.1.0f1, 2023.1.7f1
Not reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.0b21, 2023.2.0b3
Reproduced on: Windows 10
Note: Only reproducible in Editor
First lines of stack trace:
0x00007ff9dbd0a75d (Unity) StackWalker::GetCurrentCallstack
0x00007ff9dbd0f723 (Unity) StackWalker::ShowCallstack
0x00007ff9dccae75d (Unity) GetStacktrace
0x00007ff9dd3ba426 (Unity) DebugStringToFile
0x00007ff9dbb3651a (Unity) GetGfxDevice
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIState::BeginOnGUI when a Node is opened in a custom graph editor in Play Mode
- USS selector is duplicated when it is added to an element, the action is undone, and then another selector is clicked
- Text and dropdown icon are not aligned in UI Toolkit Samples
- [RenderGraph] SSAO pass in URP RenderGraph uses DontCare flag after changing the Render Scale resulting in a black screen or artifacts
- Player with IL2CPP Scripting Backend crashes when calling Application.Quit() while a thread is running
Resolution Note (fix version 2023.3.0a1):
When the scene changed, video textures such as WebCamTextures did not properly destroy their internal GraphicsTexture resulting in a crash in the editor; this has been fixed.
Resolution Note (fix version 2023.2.0b6):
When the scene changed, video textures such as WebCamTextures did not properly destroy their internal GraphicsTexture resulting in console errors and potentially a crash in the editor; this has been fixed.
Resolution Note (fix version 2023.1.10f1):
When the scene changed, video textures such as WebCamTextures did not properly destroy their internal GraphicsTexture resulting in console errors and potentially a crash in the editor; this has been fixed.