Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X, 2022.1.X
Votes
0
Found in
2020.2.3f1
2020.3
2021.1
2021.2
2022.1
Issue ID
1358477
Regression
No
[Vulkan] Editor crashes in Optix when Generating Lighting multiple times
How to reproduce:
1. Open the attached project from the Google Drive
2. Make sure the Editor is using Vulkan Graphics API
3. Open "AVP6_Desktop" Scene
4. Open Lighting window (Windows > Rendering > Lighting)
5. In the Lighting window make sure the Lightmapper is set to "Progressive GPU (Preview)"
6. Click "Clear Baked Data" found in the "Generate Lighting" drop-down
7. Open the Preferences window (Edit > Preferences)
8. In the Preferences window click on "Clean Cache" found in the "GI Cache" category
9. Click "Generate Lighting" in the Lighting window
10. Once Lighting finishes generating repeat everything from the 6th step
Expected result: Editor successfully generates lighting
Actual result: Editor crashes
Reproducible with 2020.3.16f1, 2021.1.19f1, 2021.2.0b9, 2022.1.0a6
Could not test with: 2019.4.30f1 (Lightmapper falls back to Progressive CPU)
Notes:
- Reproducible with NVIDIA GeForce GTX 1060 6GB
- The Lighting Settings asset is called "AVP6_DesktopSettings"
- It should crash on the second attempt to Generate Lighting, but it may take more attempts depending on the GPU VRAM.
Stack trace:
0x00007FFDB9E63FE9 (KERNELBASE) RaiseException
0x00007FF76D5A54C0 (Unity) CxxThrowException
0x00007FF76C083730 (Unity) optix::ContextObj::checkError
0x00007FF76C083FE6 (Unity) optix::ContextObj::getAvailableDeviceMemory
0x00007FF76C07FC15 (Unity) OptixDLDenoiser::SetupDevice
0x00007FF76C07E4A4 (Unity) OptixDLDenoiser::DenoiserContext::Setup
0x00007FF76C06B238 (Unity) OptixDLDenoiser::DenoiserContext::DenoiserContext
0x00007FF76C22F157 (Unity) ProgressiveRuntimeManager::Update
0x00007FF76C053EFC (Unity) gi::PostUpdate
0x00007FF76C09B898 (Unity) GISceneManager::Update
0x00007FF76C0910CC (Unity) `GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward
0x00007FF768AEF5E9 (Unity) CallbackArray::Invoke
0x00007FF76AD8CAE6 (Unity) ProfilerCallbackInvoke<CallbackArray,300312>::Invoke
0x00007FF76AD99D97 (Unity) Application::TickTimer
0x00007FF76B72E781 (Unity) MainMessageLoop
0x00007FF76B7327C1 (Unity) WinMain
0x00007FF76D5834B6 (Unity) __scrt_common_main_seh
0x00007FFDBC2B7C24 (KERNEL32) BaseThreadInitThunk
0x00007FFDBC84D721 (ntdll) RtlUserThreadStart
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b10
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.12f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.31f1