Quantcast
Viewing latest article 30
Browse Latest Browse All 160

Importing external DLLs to satisfy AssetBundle MonoBehaviour references

Hi there! It's my understanding that AssetBundles & Addressables cannot contain scripts. As an alternative, I'm choosing to load a DLL alongside (but before loading the addressable catalog). However, when pulling it with Assembly.LoadFile, I'm able to instantiate MonoBehaviours, etc.; but when pulling a prefab from the addressable catalog, it cannot find the referenced MonoBehaviours. Is there a way to inform Unity about these MonoBehaviours? Do I have to change something in my build process to do so, or is this something I can do at runtime?

Viewing latest article 30
Browse Latest Browse All 160

Trending Articles