Reproduction steps:
1. Open the attached “BugRepro” project
2. In the Project window, select “Assets/BundleA/A” Prefab
3. In the Inspector, observe that the “A Behaviour” Script contains “B” Prefab and “CImage” Texture
4. Execute menu item “Test Bundle Dependencies” (Asset/Test Bundle Dependencies)
5. Observe the Console
Expected result: The logged message contains both “bundlec” and “bundleb” dependencies
Actual result: The message only contains “bundlec” dependency
Reproducible with: 2021.3.44f1, 2022.3.50f1, 6000.0.23f1
Reproducible on: Windows 11
Not reproducible on: No other environments tested