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 :)
↧