Search Issue Tracker
Active
Under Consideration for 6000.3.X
Votes
1
Found in
6000.0.69f1
6000.3.11f1
Issue ID
UUM-138293
Regression
No
Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
How to reproduce:
1. Open the attached “IN-137540“ project
2. In the Editor, Build the Asset Bundle (Tools > Build AssetBundles)
3. Drag the “assets_testassets_image_gift“ file (Project Folder/AssetBundles/DateWhenBundleWasBuilt) to the WebExtract.exe tool in the Editor Folder (Editor path/Data/Tools)
4. In the AssetBundle folder (Project Folder/AssetBundles/DateWhenBundleWasBuilt), open the “assets_testassets_image_gift_data” folder
5. Drag the file in the “assets_testassets_image_gift_data” folder to the binary2text.exe tool in the Editor Folder (Editor path/Data/Tools)
6. Open the extracted .txt file in the “assets_testassets_image_gift_data” folder and note the m_Name property of Class ID 28
7. In the Project Folder, open the “TestPostProcessor” script (Assets > Editor) and change “#if true“ to “#if false“ (1st line)
8. Repeat steps 2 - 6
Actual result: The m_Name properties are different
Expected result: The m_Name properties are the same
Reproducible with: 2023.1.0a1, 6000.0.71f1, 6000.3.12f1, 6000.4.0a3
Not reproducible with: 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Fixed in: 6000.5.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- When building AssetBundles where the code was not changed, the hashes of Class ID 28 remain the same
- “DateWhenBundleWasBuilt“ is a generated Timestamp of when the Asset Bundle was built
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment