Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Votes

7

Found in

2019.1.0a11

2019.2

2019.3

2020.1

Issue ID

1117995

Regression

No

[GPU PLM] Crash in PVRJobCompositeLightmap after falling back to CPU PLM when baking 4k terrain with Optix denoiser

Global Illumination

-

Steps to repro:

1. Download the repro project: https://drive.google.com/open?id=157bdSI17Wvl53vaTGf_cIbLNwT0yFKQi
2. Open 't1BugTerrainScratch' scene;
3. In the Lighting window setting click 'Generate Lighting' button.

Expected result:
Baking finishes successfully. Fallback to CPU PLM happens gracefully.

Actual result:
Editor crashes in PVRJobCompositeLightmap after falling back to CPU PLM.
Some valuable data from the Editor.log:

'Baked lightmap filtering failed during bake. Try disabling the Optix denoiser or lower the Lightmap Size.

(Filename: C:\buildslave\unity\build\Editor/Src/GI/Progressive/Jobs/PVRJobCompositeLightmap.cpp Line: 1846)'
See attached Editor.log file.

Notes:
- Reproducible only in lighting/radeonrays/terrain-alloc branch (this crash was masked under a different RadeonRays crash); will be in trunk when this branch hits trunk;
- Reproducible on Windows 10 with NVIDIA GTX 1070 GPU (8Gb of VRAM);
- The crash is related to Optix denoiser failing to allocate VRAM for denosing the lightmap
- Doesn't reproduce when Filtering is set to None in the Lighting settings;
- Doesn't reproduce with the lightmap size = 1024; Reproducible only when the lightmap size is 4096.

Comments (3)

  1. 61f38c6c1d064ff12a45d1404f85df47?d=mm

    shahzadnpti12

    Jun 30, 2020 13:13

    very nice post.
    If any one needs free study materials for competitive exams than you can visit- https://www.sarkarirojgarhelp.com/

  2. Ac6dbc8c3a1e7f0159a18b3d33dbc6be?d=mm

    wjp28

    Jun 26, 2019 09:29

    I have a very simple scene and i'm doing nothing crazy but this is a really big issue for me as i NEED certain 2019 features.
    i'm using version 2019.1.8f1
    Specs:
    CPU: i7 9700K
    GPU: RTX 2060

  3. 25d5648b31fda7704e5786e848191124?d=mm

    Thall33

    Apr 27, 2019 01:32

    It's still a fantastic bug in 2019.1.0f2. Sometimes it even crashes! its happening without terrain. 2018 baked everything fine, same settings in 2019 and everything is acting strange, wtf is going on?!

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.