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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
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