Search Issue Tracker

Fixed

Fixed in 2023.1.2f1, 2023.2.0a19

Votes

0

Found in

2023.1.0b19

2023.2.0a17

Issue ID

UUM-37755

Regression

No

LightBaker Memory Leak at TransformNormalsToWorldSpace

--

-

There is a memory leak as described here:
{noformat}
Allocation of 64 bytes at c0325860 in block 1 (frameIndex=8, lifetime=4, age=6, state=EXPIRED)
0x00007ff95781a7e8 (Unity) dynamic_array<math::float4x4,0>::resize_buffer_nocheck (at E:/UnitySrc/unity/Runtime/Utilities/dynamic_array.h:740)
0x00007ff957817271 (Unity) `anonymous namespace'::TransformNormalsToWorldSpace (at E:/UnitySrc/unity/Editor/Src/GI/LightBaker/LightBaker.cpp:566)
0x00007ff95780e4ca (Unity) `anonymous namespace'::RenderLightmap (at E:/UnitySrc/unity/Editor/Src/GI/LightBaker/LightBaker.cpp:931)
0x00007ff9577fe4ad (Unity) LightBaker::Bake (at E:/UnitySrc/unity/Editor/Src/GI/LightBaker/LightBaker.cpp:2386)
0x00007ff9576a4c0b (Unity) `anonymous namespace'::RunBake (at E:/UnitySrc/unity/Editor/Src/GI/BakePipeline/BakePipelineBakeStage.cpp:26)
0x00007ff9528ebd31 (Unity) Thread::RunThreadWrapper (at E:/UnitySrc/unity/Runtime/Threads/Thread.cpp:113)
0x00007ffa45dc26ad (KERNEL32) BaseThreadInitThunk
0x00007ffa478ca9f8 (ntdll) RtlUserThreadStart{noformat}

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.