Hello! I made a custom action that checks a scriptable object for a boolean. All works fine, however upon pressing Play the field with the scriptable object empties itself. If I pause and re-add the object before the cutscene reaches this action it works as intended.
Could this be due to the scriptable object? I'm using the latest AC and Unity 2018.2.13f1
Thanks for your help Chris! AC is, as always, saving my skin in myriad ways.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I should have added the full script here, and noted that this scriptable object works fine with my other custom actions.
/*
*
* Adventure Creator
* by Chris Burton, 2013-2016
*
* "ActionCheckTemplate.cs"
*
* This is a blank action template, which has two outputs.
*
*/
if UNITY_EDITOR
using UnityEditor;
endif
namespace AC
{
}
I've had this solved on the discord channel by the extremely helpful Alverik. In case anyone searches these forums with the same issue I'll leave this up.
My goof was the following: I hadn't set the
Quest
class to be public. I am a goon. Thanks discord channel!