Search Issue Tracker

Fixed

Fixed in 2021.3.29f1, 2022.2.0b13, 2023.1.0a3

Votes

2

Found in

2021.3.18f1

2022.2.0a16

2023.1.0a1

Issue ID

UUM-1368

Regression

Yes

Crash and assertion "warning: Assertion failed on expression: 'texture != NULL'" when baking and cancelling repeatedly

Progressive Lightmapper

-

1. Unzip the attached test project
2. From a terminal (on Windows) run .\\repro.bat "<editor directory>"
eg : .\\repro.bat "C:\\Program Files\\Unity\\2022.2.0a9_941928b624d9"

or

2. use UTR to run the given test using the following arguments:
--suite=editor --testproject=TestProject --editor-location=<editor directory> --testfilter=ProgressiveLightmapper_RepeatedlyCancelBakeAndRestart_OutputIsConsistent
3. Crash and assert thrown

Reproduced in 2022.2.0a9
Did not reproduce in 2022.2.0a8

Stack trace:
=================================================================
Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
Managed Stacktrace:
=================================================================
=================================================================
Received signal SIGSEGV
Obtained 16 stack frames
0x00007ff79c8e6a5e (Unity) GenerateImportedCubemapIntegrate
0x00007ff79ca39768 (Unity) LightmapIntegrate
0x00007ff79ca38f9a (Unity) BakeJobCompositeLightmap::Integrate
0x00007ff79c9f6282 (Unity) BakeContextManager::Integrate
0x00007ff79c9fa0cc (Unity) ProgressiveRuntimeManager::Update
0x00007ff79c900f2c (Unity) gi::PostUpdate
0x00007ff79c8e2678 (Unity) GISceneManager::Update
0x00007ff79c8dd74f (Unity) `GISceneManager::GISceneManager'::`2'::tickGIInEditorRegistrator::Forward
0x00007ff79a9e74e9 (Unity) CallbackArray::Invoke
0x00007ff79c39fa5c (Unity) ProfilerCallbackInvoke<CallbackArray,306504>::Invoke
0x00007ff79c3a9d2c (Unity) Application::TickTimer
0x00007ff79c805aba (Unity) MainMessageLoop
0x00007ff79c80a83e (Unity) WinMain
0x00007ff79db413de (Unity) __scrt_common_main_seh
0x00007ffcdbf554e0 (KERNEL32) BaseThreadInitThunk
0x00007ffcdd4a485b (ntdll) RtlUserThreadStart

  1. Resolution Note (fix version 2022.2.0b13):

    Fixed in: 2022.2.0b13

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.