Search Issue Tracker

Fixed in 2019.3

Fixed in 2018.4, 2019.1, 2019.2

Votes

44

Found in

2018.3.0b5

Issue ID

1090892

Regression

No

Building project gets stuck on "Compiling shader variants" dialog when Lightweight Render Pipeline/Lit shader is compiling

LW RP

-

How to reproduce:
1. Open attached Unity project "gunspinningvr"
2. Build project

Expected result: Project is built successfully on the selected platform.
Actual result: Building project gets stuck on "Compiling shader variants" dialog when Lightweight Render Pipeline/Lit shader is compiling. Once it is finished, compiling starts over again.

Reproduced with: 2018.3.0b1, 2018.3.0b10.

Devices under test:
Reproduced on:
VLNQA00150, Samsung Galaxy S9 (SM-G960U), Android 8.0.0, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
VLNQA00153, Google Pixel XL (Pixel XL), Android 9, CPU: Snapdragon 821 MSM8996 Pro, GPU: Adreno (TM) 530
Windows Standalone
iOS

Note: Can't build on 2017.4, 2018.2, 2019.1, 2018.3.0a because of errors.

Fixed in: 2019.2.0b7, 2019.3.0a6.

  1. Response avatar

    Resolution Note (fix version 2019.3):

    "Optimize Mesh Data" in Player Settings causes build process to resolve unused vertex channels by checking all used shader variants. This used to happen in a very inefficient way, fetching the same shaders over and over again. The issue is fixed by implementing better shader data caching during the build process.

Comments (11)

  1. B70be5d23c0a4255ee079feb1a433c9e?d=mm

    13Flo

    Dec 03, 2018 06:46

    Reproduced on 2018.3.0b12

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.