Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2021.2

Issue ID

1336677

Regression

No

OpenCL max alloc size exceeded when baking probe volumes

Progressive Lightmapper

-

Use a modified HDRP template scene which contains a light cookie, probe volume and a legacy light probe group, for instance the project from case 1321887 as a starting point:
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

Expected result: bake completes or an actionable error message is shown before CPU fallback.

Actual result: endless error spam of OpenCL unknown errors and fallback to CPU lightmapper.

Add comment

Log in to post comment