Search Issue Tracker

Active

Votes

0

Found in

3.0.0

Issue ID

UUM-142720

Regression

No

Addressables Analyzer flags duplicate resource references from ScriptableObjects incorrectly when the corresponding field has been removed

Addressables

-

Steps to reproduce:
1. Open the attached “IN-143373_Addressables test.zip”
2. In the “Resources” folder create a ScriptableObject (Create → Test → CustomSceneTable)
3. Assign a texture to the ScriptableObject
4. Navigate to Window → Asset Management → Addressables → Analyze
5. Select “Analyze Rules” and press Analyze Selected Rules
6. Expand Analize Rules → Unfixable Rules → Check Resources to Addressable Duplicate Dependencies
7. Observe that the duplicate was marked correctly
8. Open AssetReferenceSO.cs and comment out the “Texture2D myTexture” field (line 6)
9. Repeat Step 5 and 6
10. Observe the Addressable Analyze window

Actual result: The ScriptableObject was marked as a duplicate dependency
Expected result: No duplicate dependency was marked

Reproducible with: 3.0.0 (6000.6.0a5)
Not reproducible with: 1.21.21 (2023.3.0a15)

Reproducible on: macOS Sequoia 15.7.5 (M1 Max)
Not reproducible on: No other environments tested

Notes:
- If you reserialize the asset, it will not get flagged anymore
- Does not reproduce with MonoBehaviors on prefabs

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.