I'm a beginner at Unity. Twice now, I tried to Generate Lighting in Unity Editor 6000.3.2f1 in the Unity Universal Rendering Pipeline Baked Lights Tutorial in the TerminalScene, and the second time, even after I halved the number of indirect samples, environment samples and max bounces, the Unity Editor unexpectedly crashed. I've provided a video demonstrating the crash too. Someone please help me fix this issue.
#"Generate Lighting" Causing Crash
1 messages · Page 1 of 1 (latest)
Can you share the editor logs after a crash.
I'll try
The Editor logs of the crash are inaccessible, but these are 4 of the files I showed in the Bug Reporter Video. One of them is a zip file of 2 files.
!logs
📝 Logs
Editor logs
Windows: %LOCALAPPDATA%\Unity\Editor\Editor.log
MacOS: ~/Library/Logs/Unity/Editor.log
Linux: ~/.config/unity3d/Editor.log
Unity Hub
Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
Mac: ~/Library/Application support/UnityHub/logs
Linux: ~/.config/UnityHub/logs
Just share the editor.log file
Several things to note:
- You're having a GPU crash, possibly even related to a different program that uses GPU as well. Programs that provide overlays can often cause gpu crashes in some scenarios. Device removal implies that the GPU got reset when unity was waiting for it to finish work(It doesn't necessarily mean that it crashed during unity work).
D3D12Fence::Wait(1536) error: got 18446744073709551615. Device removal.
- It seems like you're using an intel GPU and possibly an integrated one too:
Direct3D:
Version: Direct3D 12 [level 12.2]
Renderer: Intel(R) Arc(TM) Graphics (ID=0x7d55)
Vendor: Intel
VRAM: 9006 MB
App VRAM Budget: 8300 MB
Driver: 32.0.101.6556
Unified Memory Architecture
Integrated GPUs a not suitable for game development. If it's a dedicated one, then they are pretty new, so I wouldn't be surprised if it's a support/compatibility issue.
- D3D12 is more prone to GPU crashes. Maybe try changing primary graphics API to D3D11 and see if the issue occurs.
- If nothing works, you'll need to debug the issue in depth. Try the flags that unity suggests in the logs:
Unrecoverable D3D12 device error! Run with -force-d3d12-debug and see logs for more info.
Cannot use DisplayDialog because it was run from a thread that is not the main thread: Fatal Error! Unrecoverable D3D12 device error! Run with -force-d3d12-debug and see logs for more info.