MissingReferenceException: The object of type 'EventInteraction' has been destroyed but you are still trying to access it.I would like the battle to start only once, if some requirement are meet, but then disable it. In the process, i get this error...
Your script should either check if it is null or you should not destroy the object.
UnityEngine.MonoBehaviour.StartCoroutine (IEnumerator routine)
ORKFramework.Behaviours.EventInteraction.EventEnded ()
ORKFramework.Events.GameEvent.EndEvent ()
It looks like you're new here. If you want to get involved, click one of these buttons!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
One question (that maybe is relevant about the issue): what's Interaction Type in event settings in inspector? Never changed it (Event Interaction), but maybe i should use some other choice in my event with battle... :)
My old entry for Indie Game Making Contest 2015
You can use it to, e.g. display different HUD texts for picking up items and taking to NPCs :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!