Search Issue Tracker

In Progress

In Progress in 2.2.X

Under Consideration for 1.22.X

Votes

0

Found in [Package]

1.22.2

2.2.11

Issue ID

BPSBP-1075

Regression

No

The SBP build cache does not update when asset GUID's are changed

Package: Scriptable Build Pipeline

-

How to reproduce:
1. Install the Android Platform Module in the Editor
2. Open the “SBPBundleBug.zip“ project
3. Build a bundle by clicking on “Tools/Build Bundle“ in the Toolbar
4. Open “Assets\StreamingAssets\Animator.controller” in File Explorer and observe that the size of the file is 3KB (when the GUID is wrong)
5. Open the “Assets/Anim/Anim.anim.meta“ in Notepad
6. Change the last character of the GUID from “d“ to “c“ (to what it was originally correct), and save the changes
7. Build a bundle by clicking on “Tools/Build Bundle“ in the Toolbar (should overwrite the previous build)
8. Open “Assets\StreamingAssets\Animator.controller” in File Explorer again
9. Observe the size of the file again (when the GUID is correct)

Expected result: Size shows 94KB
Actual result: Size stays at 3KB

Reproducible in: 1.21.25, 2.1.3 (2021.3.50f1, 2022.3.60f1), 2.2.11 (6000.0.45f1, 6000.1.0b13, 6000.2.0a8)

Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested

Workaround: Delete the “Library/BuildCache“ before building bundles

Notes:
- For best reproduction, delete and extract the project again before reproducing
- For this project, the Android Platform Module is required

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.