Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2021.3.50f1

2022.3.60f1

6000.0.45f1

6000.1.0b13

6000.2.0a8

Issue ID

UUM-102672

Regression

No

BuildPipeline.BuildAssetBundles rebuilds unchanged assets in an AssetBundle when called after relaunching the Editor if these assets were modified and rebuilt in the previous session

-

How to reproduce:
1. Open the attached “IN-90295” project
2. Open the “SampleScene”
3. In the Project window, create a new MonoBehaviour script
4. Select any Prefab from the “Prefab” folder
5. In the Inspector, attach the created script to the Prefab
6. From the top menu bar, select Tools > Build and wait for the build process to complete
7. Relaunch the Unity Editor
8. Open the Console window
9. From the top menu bar, select Tools > Build and wait for the build process to complete
10. Observe the Console window

Expected result: No messages are printed in the Console
Actual result: Data for the previous and current build info for the changed Asset’s bundle is printed, showing the TypeTreeHash values are different between the initial and rebuilt versions of the bundle

Reproducible in: 2021.3.50f1, 2022.1.0a1, 2022.3.60f1, 6000.0.45f1, 6000.1.0b13, 6000.2.0a8

Reproducible on: Windows 10 (by User), Windows 11
Not reproducible on: No other environments tested

Note: While rebuilding the bundles, AssetFileHash, MD5, and CRC hashes remain consistent. However, the TypeTreeHash changes despite no alterations being made to the assets.

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.