Search Issue Tracker

Fix In Review for 2021.2

Fixed in 2020.2

Fix In Review for 2021.1

Votes

6

Found in

2020.1.0a22

2020.1.13f1

2020.2

2021.1

Issue ID

1296800

Regression

Yes

[Cache Server] Building process freezes on compiling shader variants when connected to Accelerator

Build Pipeline

-

Prerequisite: Unity Accelerator must be installed on the system

Reproduction steps:
1. Download the attached "ShaderCmpTests.zip" project and "repeatBuild.bat" script
2. Replace the command line arguments in "repeatBuild.bat" to point to your Unity installation and project path
3. Run the "repeatBuild.bat" script
-- Observe the freeze

Reproducible with: 2020.1.0a22, 2020.1.17f1, 2020.2.0f1, 2021.1.0a10
Not reproducible with: 2019.4.16f1, 2020.1.0a21
Could not test with 2018.4 (Accelerator requires 2019.3 or newer Editor version)

Notes:
- not reproducible without Accelerator connected
- sometimes also freeze on "Mesh data optimization - Resolving used channels"
- reproduced using NVidia GeForce GTX 960, AMD FX(TM)-8350 Eight-Core Processor 4.00 GHz, Windows 10

repeatBuild.bat script:
#127.0.0.1:10080
#http://127.0.0.1/dashboard
ECHO OFF
for /l %%x in (1, 1, 100) do (
ECHO Begin build at %time%
"C:\Program Files\Unity\Hub\Editor\2020.1.15f1\Editor\Unity.exe" -quit -buildTarget Standalone -projectPath "C:\ShaderCmpTests_20.15" -executeMethod Builder.BuildPlayerActiveTarget -EnableCacheServer -cacheServerEnableUpload false -cacheServerEndpoint 127.0.0.1:10080
ECHO Completed build at %time%
)
ECHO Completed
PAUSE

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in: 2020.2.6f1

Comments (1)

  1. 88bf09f5c2ec9e707935874e8f8bc06b?d=mm

    goran_okomotive

    Feb 02, 2021 13:03

    Still happens in Unity 2020.2.2f1 when bulding XB1 dev build. Any ETA for this issue?

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.