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
- Calculating time durations in RenderDoc with DX12 causes 'Device Lost error' popup
- Reorderable ListView inside a ScrollView has a glitchy behavior when trying to reorder items
- Hidden method is opened in IDE when double clicking the log message in the Console that has the HideInCallstackAttribute
- Errors in the Console when creating a new "2D Platformer Microgame" template project
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
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.