Reproduction steps:
1. Create a new project from the “3D Sample Scene (HDRP)” template
3. Click Window > Rendering > Lighting
4. Set Lightmapper to "Progressive GPU"
5. Click "Generate Lighting"
Expected result: Lightmapper is set to "Progressive GPU", no OpenCL errors are printed to the logs or console and it is possible to generate lighting
Actual result: Every time Lightmapper is set to "Progressive GPU" it is reset to "Progressive CPU" and OpenCL errors are printed to the Console, with more information in the log file.
Reproduced with: 2021.3.24f1, 2022.3.16f1, 2023.2.7f1, 2023.3.0a12
Couldn't test with: 2023.3.0a13, 2023.3.0b4 ([Internal link]: [Linux] Crash on BackupState::MemoryIDToFileID::operator() when creating a new project from “3D Sample Scene (HDRP)” template)
Reproduced on: Ubuntu 23.10, Ubuntu 22.04.3
Not reproduce on: Windows 11
Errors in the Console window:
Failed to find a suitable OpenCL device, baking cannot use GPU lightmapper.
Falling back to CPU lightmapper.
Logs:
OpenCL Error: 'clGetPlatformIDs(kMaxPlatforms, platforms, &numPlatforms)' returned -6667 (Unity cannot load OpenCL.dll. Please install the latest graphics driver.).
– Listing OpenCL platforms(s) –
-- Listing OpenCL device(s) –
Light baking could not be started because no valid OpenCL device could be found.
Tested GPUs:
1. AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 6.2.0-39-generic) Version: 23.0.4
2. AMD Radeon Pro WX 9100
3. Nvidia RTX 3080 with 525 drivers