Search Issue Tracker

Fixed in 2019.2.X

Votes

6

Found in

2018.3.0b5

Issue ID

1091345

Regression

No

[GPU PLM] [Crash] Editor throws Falling back to CPU lightmapper. And crashes on exit

Progressive Lightmapper

-

Steps to reproduce:

1. Download the attached project (FillGPUMemory) and open TestScene01
2. Navigate to Assets > Textures and select all render textures within the folder
3. In the Inspector view, change their resolution to 8192x8192
4. Navigate to the Lighting Settings window and bake lighting using the GPU lightmapper
5. Notice that baking stalls, and console spams the following assert:

OpenCL Error: 'clGetProgramInfo(program, CL_PROGRAM_BINARY_SIZES, numDevices * sizeof(size_t), binarySizes.data(), &param_value_size_ret)' returned -44 (CL_INVALID_PROGRAM)!
OpenCL Error. Falling back to CPU lightmapper. Error callback from context: CL_INVALID_PROGRAM

6. Cancel the bake and close the editor
7. Observe the crash

Notes:

- Reproduced on 2018.3.0b5
- Reproduces on nvidia GTX 1080 and AMD R9 Nano Fury
- After setting render texture resolution to 8K, you might need to save the scene and restart the editor

Comments (9)

  1. ARLS

    Oct 14, 2019 14:12

    2019.2.5f1 LWRP and the issue is still here.. Can't bake with my GTX 1070. What can I do? It seems to me that the issue is still valid....

  2. r-kamphuis

    May 15, 2019 12:21

    still present in 2019.2.0b1

  3. HanAusBerlin

    Apr 09, 2019 07:59

    Same with 2018.3 and GTX1080. Please fix this ASAP.

  4. Dmonty

    Jan 01, 2019 15:28

    I'm getting this same error on GTX 1060. Will this be fixed anytime soon? I've tried using the GPU baker in 2018 and 2019 and both have the OpenCL error.

  5. Rod-RACMEDIA

    Dec 27, 2018 06:42

    same error on gtx 1080 version 2018.3.0f2 personal

  6. Rod-RACMEDIA

    Dec 27, 2018 06:42

    same error on gtx 1080 version 2018.3.0f2 personal

  7. PictonicStudio

    Dec 14, 2018 07:50

    same 980 ti, 2018.3

  8. peruwiadomo

    Dec 11, 2018 15:20

    Same error on gtx 970
    unity v2018.3.0f

  9. Roman-Ilyin

    Dec 03, 2018 11:50

    same error on 2018.3.0f1 and GTX580

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.