Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.24f1

Issue ID

UUM-45843

Regression

No

[macOS] SkyManager Graphics error when building Addressables in nographics mode

--

-

How to reproduce:
1. Download and unzip the attached project "Minimal_repro.zip"
2. Build addressables in nographics mode by running the following command:
<PATH_TO_UNITY>/Unity.app/Contents/MacOS/Unity -projectPath <PATH_TO_PROJECT> -executeMethod Com.King.GradleAddressablesBuildHelper.Build -buildTarget iOS -BuildConfig=<PATH_TO_PROJECT>/build-config.json -environment DEV -batchmode -nographics -quit -logFile <PATH_TO_PROJECT>/addressables_ios_minimal.log
3. Once the process is done running, check the addressables_ios_minimal.log

Expected results: No errors are logged during the addressables build.
Actual results: Many instances of the error message listed above ("GfxDevice renderer is null...") are logged (over 200).

Reproduced with: 2021.3.24f1 (cf10dcf7010d)
Reproduced on: MacOS 13.4 (Intel-based)
Not reproduced on: No other environments tested

  1. Resolution Note:

    The SkyManager needs a graphics device to produce the ambient probe. To fix this run without the -nographics argument or pregenerate lighting for the scenes using the button in the Lighting Window. The SkyManager is removed in 2023.X.

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.