I’m wondering if anyone has seen this behavior. I have fairly simple prefab, which has a component on it that references a Scriptable Object asset (“the config”). If I drag this prefab into my scene, it works fine, and I see that “the config” is on the object. However, when I instantiate the object dynamically, then the component has a null reference to the config.
I’m loading the object via Addressables.LoadAssetAsync, following by calling Instantiate on the result.
My understanding was that Addressibles was smart enough to include dependencies, and that I won’t need to mark every possible dependency as Addressable and put it in a category. That said, “the config” shows up in the “Duplicate Asset Isolation” section of the addressables window:
Has anyone seen this behavior before?
I tried manually adding “the config” to the same group as the object I’m spawning, and that “fixes” the issue. Now the reference isn’t null. But again, I thought that Addressables should automatically find dependencies, and I don’t need to manually add every possible dependency to Addressables for it to work.
