Page MenuHome

Missing sss_blur pass in EEVEE crashing indirect light bake
Closed, ResolvedPublic


System Information
Operating system: Win10
Graphics card: Nvidia 980gx

Blender Version
Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen) master

Short description of error
Load the following file and click "bake indirect lighting." It will crash in eevee_subsurface.c:EEVEE_subsurface_add_pass. "psl->sss_blur_ps" is NULL. If you add a simple "if (!psl->sss_blur_ps) return;" it won't crash; interestingly enough, the compiler optimizes out the entire function. Anyway, that probably isn't the right fix.

Exact steps for others to reproduce the error
See above.

Event Timeline

Clément Foucault (fclem) triaged this task as Confirmed, High priority.May 19 2019, 12:08 AM

This one seems to be a duplicate: T64858

It doesn't crash if
EEVEE_subsurface_cache_init(sldata, vedata);
is added in eevee_lightcache.c in eevee_lightbake_cache_create, for example in line 746.

I'm not sure if that's the right fix or if any cleanup is required additionally.

It's also odd that this is caused by the Clearcoat property of the principled shader; I don't see what that has to do with SSS.