Search Issue Tracker

Fixed

Fixed in 2023.2.0a9

Votes

0

Found in

2023.2.0a9

Issue ID

UUM-31159

Regression

Yes

Editor crash when generating lighting on a scene with a terrain

--

-

Reproduction steps:
1. Open attached project from https://jira.unity3d.com/browse/UUM-1370 (1408331_SoundDesign.zip).
2. Open Windows>Rendering>Lighting window
3. Press "New Lighting Settings" in the Lighting window
4. Press "Generate Lighting" in the Lighting window

Expected result: Lighting is generated
Actual result: Editor crashes

Reproducible with: 2023.2.0a9.1370
Could not test with earlier versions due to UUM-23337.

Call stack:
{{#0 0x0000000108cd74fc in (anonymous namespace)::RenderAlbedoAndEmission(dynamic_array<InputExtraction::OOTSInstance, 0ul> const&, dynamic_array<InputExtraction::OOTSMaterial, 0ul> const&, dynamic_array<int, 0ul> const&, MemLabelId, bool, dynamic_array<(anonymous namespace)::MaterialTexturePair, 0ul>&, dynamic_array<unsigned int, 0ul>&) at /opt/UnitySrc/unity/Editor/Src/GI/InputExtraction/ProcessOOTSSnapshot.cpp:88}}
{{#1 0x0000000108cd1e08 in InputExtraction::BuildSceneData(InputExtraction::OOTSSnapshot const&, LightBaker::BakeInput&, InputExtraction::OOTSSourceMap&, dynamic_array<InputExtraction::BuildSceneDataWarning, 0ul>&) at /opt/UnitySrc/unity/Editor/Src/GI/InputExtraction/ProcessOOTSSnapshot.cpp:788}}
{{#2 0x0000000108bc7e20 in BakePipeline::Driver::Update(GISceneManager&, BakePipeline::Driver::BakeAnalytics const&, bool) at /opt/UnitySrc/unity/Editor/Src/GI/BakePipeline/BakePipelineDriver.cpp:681}}
{{#3 0x0000000108bdda8c in BakePipeline::RuntimeManager::Update(bool&) at /opt/UnitySrc/unity/Editor/Src/GI/BakePipeline/BakePipelineRuntimeManager.cpp:40}}
{{#4 0x0000000108b1ac24 in BakedGISceneManager::PostUpdate() at /opt/UnitySrc/unity/Editor/Src/GI/BakedGISceneManager.cpp:236}}
{{#5 0x0000000108ba44f8 in gi::PostUpdate(dynamic_array<GISceneManagerClient*, 0ul> const&) at /opt/UnitySrc/unity/Editor/Src/GI/GISceneManagerHelpers.cpp:50}}
{{#6 0x0000000108ac0700 in GISceneManager::Update() at /opt/UnitySrc/unity/Editor/Src/GI/GISceneManager.cpp:540}}
{{#7 0x0000000108afad34 in UpdateSceneStatic() at /opt/UnitySrc/unity/Editor/Src/GI/GISceneManager.cpp:75}}
{{#8 0x0000000108ac271c in GISceneManager::GISceneManager()::tickGIInEditorRegistrator::Forward() at /opt/UnitySrc/unity/Editor/Src/GI/GISceneManager.cpp:158}}

  1. Resolution Note (fix version 2023.2.0a9):

    This issue is fixed. A possible workaround is to ensure that all baked objects have valid material assigned to their submeshes.

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.