Search Issue Tracker

Fixed

Fixed in 6000.0.66f1, 6000.3.4f1, 6000.4.0b4, 6000.5.0a4

Votes

0

Found in

6000.0.55f1

6000.1.16f1

6000.2.1f1

6000.3.0a5

6000.4.0a1

6000.5.0a1

Issue ID

UUM-114616

Regression

No

Shader asset bundles differ depending on whether they are built with a clean library or not

Shader System

-

Reproduction steps:
1. Extract the attached “IN-112307_ShaderBuildTest_Alpha“ project
2. Delete the “Library“ folder inside the project
3. Open the project
4. Select “Tools > Build” in the Menu Bar
5. Build to a new folder (suggest calling it 'A')
6. Close the project
7. Delete the “Library/ShaderCache” folder inside the project
8. Select “Tools > Build” in the Menu Bar
9. Build to a new folder (suggest calling it 'B')
10. Diff the shaders bundle for each build (“<BuildFolder>/AssetBundles/”)

Expected result: The built shader bundles are identical
Actual result: Diff returns that the built shader bundles are not identical

Reproducible with: 6000.0.55f1, 6000.1.16f1, 6000.2.1f1, 6000.3.0a5

Reproducible on: M1 Max MacOS 15.5 (Tested by CQA)
Not reproducible on: No other environment tested

Note: It appears that there might be two 'states' of the bundle, one of them if the project is built with a 'fresh' Library, and another if the Library is not 'fresh'. Deleting the whole Library between builds results in the same bundle, and deleting just the ShaderCache results in a different one

  1. Resolution Note:

    Shaders: Fixed the non deterministic build issue when building shader AssetBundle

  2. Resolution Note (fix version 6000.5.0a4):

    Shaders: Fixed the non deterministic build issue when building shader AssetBundle

  3. Resolution Note (fix version 6000.4.0b4):

    Fixed in 6000.4.0b4

  4. Resolution Note (fix version 6000.3.4f1):

    Fixed in 6000.3.4f1

  5. Resolution Note (fix version 6000.0.66f1):

    Fixed in 6000.0.66f1

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.