Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

Issue ID

1321887

Regression

Yes

[GPULM] - Fallback to CPULM failing when writing LightCookies buffer and using Clear baked Data

Global Illumination

-

Baking with GPULM sometimes fails when baking a scene that has baked light cookies.
The bug happens in OpenCLCommonBuffers::PrepareLightCookiesBuffer while writing in kRRBuf_lightCookiesBuffer even though the buffer is properly allocated.

Steps to reproduce:
*Fetch the HDRP graphics repo at sha 196f36cf8498b9099363808ddcf3138d2dab379f
*Download the repro project at https://drive.google.com/file/d/167ujPa9q_H09XS3n3y9biByjrScWHsCb/view?usp=sharing
*Update the manifest.json in HDRPTemplatePV/Packages to point to your local HDRP repo
*Set EnableProbeVolumes = 1, in Runtime/ShaderConfig.cs
*Bake lighting
*Clear the baking using "Clear baked Data"
*Bake again

The bug happens only using "Clear baked Data", it does not reproduce using "clear disk cache"

Comments (1)

  1. 2de4a3000492b7acbfd31c2b995f2b18?d=mm

    uniquenterprices357

    Mar 17, 2021 12:54

    Bien

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.