Fixed a regression in the AssetBundle dependency calculation. With this fix Scriptable Objects referencing assets in another AssetBundle will be properly tracked.
Steps to reproduce:
1. Open the attached user project "BundleDeps.zip"
2. Click "Build > Build Bundles"
3. Navigate to and open "<ProjectFolder>/Builds/Bundles/<Platform>/stores_themes_default_data.manifest"
4. Observe that bundle "stores_themes_default_data" depends on "stores_themes_default_offerpopup" (as expected)
5. Repeat steps 2-3 using Unity 2022.2.19f1
6. Observe that bundle "stores_themes_default_data" now depends on bundles "assetrepack_largepowerups" and "fonts_candal", which is incorrect
Expected results: correct AssetBundle Dependencies are generated
Actual Results: Incorrect AssetBundle Dependencies are generated