Search Issue Tracker
Fixed in 2021.3.29f1
Fixed in 2021.3.X, 2022.2.X, 2023.1.X, 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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2023.1):
https://github.cds.internal.unity3d.com/unity/unity/pull/11280/commits/4630a17ccdd7cd0f29a476ef0b586cf61a8a1550
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0b13