Search Issue Tracker

Duplicate

Votes

0

Found in

2019.1.0f2

Issue ID

1147160

Regression

No

GPU progressive lightmapper crashes with BakeJobConservativeRaster::Execute when lightmap size set to 4096

Shadows/Lights

-

To reproduce:
1. Open attached project "New Unity Project.zip"
2. In Lighting window, Set Lightmap Size to 4096
3. Clear baked data before proceeding
4. Generate Lighting

Result: editor crashes (2019.2) or infinitely bakes lighting (2019.1, 2018.3)

Reproduced in: 2018.3.13f1, 2019.1.0f2, 2019.2.0a13
Not reproduced in: 2017.4.6f1

Note1: as an addition, 2018.3 also produces warnings:
"OpenCL Error. Falling back to CPU lightmapper. Error callback from context: CL_MEM_OBJECT_ALLOCATION_FAILURE"
Note2: does not reproduce on Enlighten
Note3: crash stack trace:

0x00007FF6F16A800A (Unity) BakeJobConservativeRaster::Execute
0x00007FF6EF1D9290 (Unity) JobManager::UpdateFunction
0x00007FF6F061D11E (Unity) JobQueue::Exec
0x00007FF6F062388B (Unity) JobQueue::Steal
0x00007FF6F061D893 (Unity) JobQueue::ExecuteJobFromQueue
0x00007FF6F061F3ED (Unity) JobQueue::ProcessJobs
0x00007FF6F0624338 (Unity) JobQueue::WorkLoop
0x00007FF6F0B3B397 (Unity) Thread::RunThreadWrapper
0x00007FFBCAA04034 (KERNEL32) BaseThreadInitThunk
0x00007FFBCD213691 (ntdll) RtlUserThreadStart

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.