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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
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.