Search Issue Tracker
Fixed in 2023.1.10f1
Fixed in 2023.1.X, 2023.2.X, 2023.3.X, 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
- Console Warning -- KeyboardIconAtlas sprite Input Outline goes beyond the boundary of the Sprite rect.
- Reflection Probe “Probe Scene Editing Mode:” text is barely visible
- [HDRP] Game view doesn’t refresh after changing Camera Background Type until mouse moves over it
- Some Shaders appear twice in Material Shader selection menu
- Editor freezes with a StackOverflowException when certain asset types are assigned to a managed component in a SubScene via AddComponentObject
Resolution Note (fix version 2023.3):
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):
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):
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.