Search Issue Tracker

Won't Fix

Unknown (hidden) 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X

Votes

2

Found in

2020.3.35f1

2021.3.5f1

2022.2.0a17

2023.1.0a1

Issue ID

UUM-1352

Regression

No

Neverending import loop and `Integrate failed on Write Lighting Data job' error when deleting LDA after unloading scene

--

-

Steps to repro:

1. Open the attached project and 'Market' scene;
2. Drag and drop scene 'SecurityRoom' from the Project folder (Assets>Scenes>SecurityRoom) to the Hiirarchy;
3. In the Hierarchy double-click on the 'Market' scene to make it the main one;
4. In the Lighting window (Window>Rendering>Lighting) press Generate Lighting button to bake the scene's lighting;
5. Wait until the scene's lighting is baked;
6. When the scene's lighting is completed in the Hierarchy right-click on Market scene and choose Unload Scene option;
7. In the Project folder go to Assets>Scenes>Market;
8. In the Project folder right-click on the 'LightingData.asset' file and choose Delete;
9. Click Delete in the opened popup window.

Expected result:
The Editor is stable and no errors are shown.

Actual result:
Neverending import loop happens, which slows Editor to the great extent.
The following error is thrown in the Console:
"-Integrate failed on Write Lighting Data job.
0x00007ff703f1e7ed (Unity) StackWalker::GetCurrentCallstack
0x00007ff703f25569 (Unity) StackWalker::ShowCallstack
0x00007ff704e8a023 (Unity) GetStacktrace
0x00007ff705522233 (Unity) DebugStringToFile
0x00007ff704c972f4 (Unity) JobManager::IntegrateCompletedJobs
0x00007ff704f6cbfb (Unity) GISceneManager::Update
0x00007ff704f68e7f (Unity) `GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward
0x00007ff7030cf729 (Unity) CallbackArray::Invoke
0x00007ff704a3ad4c (Unity) ProfilerCallbackInvoke<CallbackArray,300312>::Invoke
0x00007ff704a4536b (Unity) Application::TickTimer
0x00007ff704e8fdb5 (Unity) MainMessageLoop
0x00007ff704e94824 (Unity) WinMain
0x00007ff7061c08b2 (Unity) __scrt_common_main_seh
0x00007fff3e857034 (KERNEL32) BaseThreadInitThunk
0x00007fff40302651 (ntdll) RtlUserThreadStart"

See attached video.

Workaround is to expand the dropdown list on the right side of the Generate Lighting button in the Lighting window and select Clear Baked Data.

Notes:
- Reproducible in Version 2022.1.0a13, 2021.2.0f1, 2020.3.21f1;
- Reproducible on Windows.

  1. Resolution Note:

    This has been fixed for the 2022.2 release as a side-effect of our larger refactors. Seeing that the issue has a very clear workaround and that our refactoring work has improved it in the upcoming releases, we are resolving this as Won't Fix.

  2. Resolution Note (2023.1.X):

    This does not reproduce in 2023.1

  3. Resolution Note (2022.2.X):

    This does not reproduce in 2022.2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.