Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.2.0a6
Issue ID
1315119
Regression
Yes
[GPU PLM] GPU out of resources crash after baking the project with the big lightmap size several times in a row
Steps to repro:
1. Download the Archviz Interior Pro vol 7: https://ono.unity3d.com/test-data/gi-tests/ArchVizPRO-Interior-Vol7 and sync to the revision 2c64f1d00ac5
2. Open the AVP_Vol.7_Standalone scene;
3. In the Lighting window set the Lightmap size to 4k and enable Progressive Updates checkbox;
4. In the Lighting window set the Lightmapper to Progressive GPU and enable Optix denoiser for all types of baked data;
5. Bake the scene’s GI by pressing Generate Lighting button in the Lihghting window;
6. Notice that the fallback to CPU happens with CL_OUT_OF_RESOURCES error;
7. Stop the GI baking after the fallback to CPU has happenned;
8. In the Lighting window set the Lightmap size to 2k;
9. In the Lighting window set the Lightmapper to Progressive GPU;
10. In the Lighting window expand the dropdown on the right side of the Generate Lighting button and select Clear baked data;
11. Bake the scene’s GI by pressing Generate Lighting button in the Lighting window.
Expected result:
The GPU PLM's baking proceeds and finishes without crashes or errors.
Actual result:
Editor and GPU crashes. The following error is shown:
"Failed to present D3D11 swapchain due to device reset/removed.This error can happen if you draw or dispatch very expensive workloads to the GPU, which can cause Windows to detect a GPU Timeout and reset the device. (see https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery).If you believe this error is due to built-in Unity functionality, please submit a bug.This is an unrecoverable error and the editor will shut down.". Sometimes the OS freezes completely.
Regression introduced in Unity 2021.2.0a6.
Notes:
- Reproducible in Version 2021.2.0a6 (0048a9ca9c0b);
- Not reproducible in 2021.2.0a5;
- Reproducible on Windows with NVIDIA GeForce RTX 2080 Ti with 11 GB of VRAM with the latest NVIDIA drivers ver 461.40.
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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
hossenshovon1
Feb 12, 2023 19:06
Did You find any solution of it?
HeizenblogGaming
Mar 08, 2021 10:57
I'm getting this error message come up in version 2020.2.2f1, It can happen even when nothing is being done in the editor
I have a NVIDIA GeForce RTX 3070 with the latest driver.
The monitor goes blank, I have to disconnect and reconnect the HDMI cable to bring the screen back up and I get the error message and it closes any instances of Unity.