Search Issue Tracker

Active

Under Consideration for 1.22.X, 2.3.X

Votes

0

Found in [Package]

1.22.3

2.3.1

Issue ID

ADDR-3805

Regression

No

Invalid FilePath in AddressablesPlayerBuildResult.BundleBuildResult when using BundledAssetGroupSchema.BundleNamingStyle.NoHash

Package: Addressables

-

Reproduction steps:
1. Open the attached “MagAddressables“ project
2. Open “Library/PackageCache/com.unity.addressables@1.21.2/Editor/Build/DataBuilders/BuildScriptPackedMode.cs“ in your preferred IDE
3. Set breakpoints in lines 1217, 1243, 1298
4. Attach the Unity Editor to the IDE
5. Open the Addressables Groups window (Window > Asset Management > Addressables > Groups)
6. Build the Addressables Groups (Build > New Build > Default Build Script)
7. Continue until the 1217 line is hit the second time
8. Observe the targetPath variable’s value

Expected result: The bundleResultInfo.FilePath value is set without the hash after the bundle’s name
Actual result: The targetPath variable still has the hash after the bundle’s name

Reproducible with: 1.21.2 (2021.3.45f1), 1.22.3 (2022.3.52f1), 2.3.1 (6000.0.26f1, 6000.1.0a3)

Reproducible on: M1 Max MacOS 14.6.1
Not reproducible on: No other environment tested

Note: The provided breakpoint lines in the reproduction steps are only accurate with the 1.21.2 Addressables package version. The issue is still reproducible with the newer versions, but the lines corresponding to the same code are not identical.

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.