Search Issue Tracker
Fixed
Fixed in 2023.2.0b16, 2023.3.0a12, 7000.0.0a1
Votes
0
Found in
2023.2.0b13
2023.3.0a8
7000.0.0a1
Issue ID
UUM-53434
Regression
Yes
APV data is writing into the LightProbes object
Observed behavior:
The Editor is running out of memory when baking a large APV volume on what seems to be serializing SH probe data into the LightingData.asset.
Expected behavior:
APV data should not be stored into the LightingData.asset.
Reported here [https://unity.slack.com/archives/C06TQ5M4J/p1696941755337029]
{{The problem is in PatchProbes, call stack:}}
{{ Unity.dll!LightProbes::SetBakedCoefficients(const dynamic_array<SphericalHarmonicsL2,0> & coefficients) Line 251 C++}}
{{ Unity.dll!`anonymous namespace'::PatchProbes(const dynamic_array<core::basic_string<char,core::StringStorageDefault<char>>,0> probePaths, const ComputedProbeData & probeData, PPtr<LightProbes> & lightProbes) Line 255 C++}}
{{> Unity.dll!BakePipeline::Driver::Update(GISceneManager & sceneMgr, const BakePipeline::Driver::BakeAnalytics & analytics, bool shouldBeRunning) Line 752 C++}}
{{ Unity.dll!BakePipeline::RuntimeManager::Update(bool & outBakeCompleted) Line 36 C++}}
{{ Unity.dll!BakedGISceneManager::PostUpdate() Line 108 C++}}
{{ Unity.dll!gi::PostUpdate(const dynamic_array<GISceneManagerClient *,0> & activeClients) Line 48 C++}}
{{ Unity.dll!GISceneManager::Update() Line 526 C++}}
{{ [Inline Frame] Unity.dll!UpdateSceneStatic() Line 78 C++}}
{{ Unity.dll!`GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward() Line 160 C++}}
{{ [Inline Frame] Unity.dll!CallbackInfoBase<void ({_}{{_}}cdecl*)(void),void (\{_}_cdecl*)(void const *)>::Invoke() Line 70 C++}}
Idea on how to fix this: The probePaths fed into PatchProbes should have paths that map to additional probe requests filtered away so we don't push SH data that comes from AdditionalProbes into the LightProbes object. m_Run->m_AdditionalProbeIdsToRequestIndices can be used to filter.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Sprite shadows are not rendered when the light source is placed near the sprite
- Multiple Video Players are not playing simultaneously when played in WebGL
- "Rename Prefab File?" window does not pop up when renaming Prefab in the Project window
- [Linux] Crash on MenuController::ExecuteMenuItem when selecting recent scene
- Warnings appearing in the Console window when creating a new URP 3D Sample project
Add comment