Search Issue Tracker

Fixed

Fixed in 2023.3.0b1

Votes

0

Found in

2021.3.29f1

2022.3.9f1

2023.1.13f1

2023.2.0b9

2023.3.0a5

Issue ID

UUM-48757

Regression

No

AssetBundles API doesn't trigger a rebuild when the Graphics Settings in the Project Settings are changed

--

-

Reproduction steps:
1. Open the attached “Repro.zip” project
2. Set the “BatchRendererGroup Variants” field to “Strip All” located in the Project Settings window under Graphics (Edit > Project Settings > Graphics > Shader Stripping)
3. Select the “Build Asset Bundle” option located under the “Assets” category in the Menu Bar
4. Observe the “Asset/AssetBundle/test” Asset Bundle’s modified date using File Explorer
5. Set the “BatchRendererGroup Variants” field to “Keep All” located in the Project Settings window under Graphics (Edit > Project Settings > Graphics > Shader Stripping)
6. Select the “Build Asset Bundle” option located under the “Assets” category in the Menu Bar
7. Observe the “Asset/AssetBundle/test” Asset Bundle’s modified date using File Explorer

Expected result: The Asset Bundle is rebuilt and the file’s modified date reflects it
Actual result: The Asset Bundle hasn’t been rebuilt and the file’s modified date shows an old date

Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5

Reproducible on: Windows 10 Pro (22H2)
Not reproducible on: No other environment tested

  1. Resolution Note (fix version 2023.3.0b1):

    Fixed issue where AssetBundles aren't rebuilt when the "BatchRendererGroup Variants" shader stripping setting is changed.

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.