Quantcast
Channel: Questions in topic: "filesystem"
Viewing all articles
Browse latest Browse all 35

Load a non-gameobject object from an AssetBundle?

$
0
0
So, I wanted to load a behaviour from an asset bundle. For example the behaviour may look like this: [CreateAssetMenu] public class SampleBehaviour { public float someFloat; } The issue came where I got the following error: The referenced script on this Behaviour (Game Object '') is missing! UnityEngine.AssetBundle:LoadAsset(String) It is only an error, large games like Rust have also faced this issue: [http://jira.facepunch.com/browse/RUST-1633][1] [1]: http://jira.facepunch.com/browse/RUST-1633 Unfortunately no solve has been posted online as the issue is not faced commonly by developers; therefore, I would really appreciate it if anyone knows of a solution to this problem :)

Viewing all articles
Browse latest Browse all 35

Trending Articles



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