Quantcast
Channel: Questions in topic: "dllimport"
Viewing all articles
Browse latest Browse all 160

Importing external DLLs to satisfy AssetBundle MonoBehaviour references

$
0
0
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 all articles
Browse latest Browse all 160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>