Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.69f1

6000.3.10f1

6000.4.0b11

6000.5.0a7

6000.6.0a1

Issue ID

UUM-135821

Regression

No

[Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed

Asset Bundles

-

Reproduction steps:
1. Open the attached “IN-134425” project
2. Open the SampleScene
3. Build the asset bundles by using the “Default Build Script” in the Addressables Groups window (Window > Asset Management > Addressables > Groups)
4. Note the name of the generated Default Local Groups bundle (in Library/com.unity.addressables/aa/[Platform]/[RuntimePlatform](It should be something like: `defaultlocalgroup_scenes_all_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` where `xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` is the bundle hash)
6. Open MyScript.cs and change the name of the serialized field from `myCamera` to something else, ie “attachedCamera”
7. In SampleScene, reassign the camera to the new serialized field and save the scene
8. Repeat Step 3 to Re-generate the asset bundle again
9. Observe the bundle hash

Actual Result: The bundle hash remains the same
Expected Result: The bundle hash changed

Reproducible with: 2.0.8 (2023.3.0a7), 2.9.1 (6000.0.69f1, 6000.3.10f1, 6000.4.0b11, 6000.5.0a7)
Not reproducible with: 1.20.5 (2023.1.0a5), 1.21.21 (2023.3.0a7)

Reproducible on: macOS 26.3
Not reproducible on: No other environments tested

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.