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
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2023.1.0a3):
https://github.cds.internal.unity3d.com/unity/unity/pull/11280/commits/4630a17ccdd7cd0f29a476ef0b586cf61a8a1550
Resolution Note (fix version 2022.2.0b13):
Fixed in: 2022.2.0b13