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
- [iOS] Back Triple Camera is not focusing manually and automatically
- Mouse inputs cannot be inputted when searching the Shortcuts Menu by type "Shortcut"
- "Debug Assertion Failed!" error when launching Windows Dedicated Server Player with Script Debugging enabled
- [Cinematic Studio][3D HDRP] Shader warnings thrown in the Console window when creating a new project with Cinematic Studio template
- Autoplay is triggered on Audio Assets when changing Asset Bundle tags
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.