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