Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.2.X, 2021.1.X
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
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
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a5
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.0b8
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.6f1