Difference between revisions of "Known Issues and Workarounds"
|Line 23:||Line 23:|
Revision as of 22:20, 16 September 2018
The Hand of Fate 2 modding tools are a work in progress and may include some bugs and rough edges. These will change over time as old issues are fixed and new ones are discovered, so if you see something here that doesn't belong, or don't see something here that should be, make note in this page's Discussion tab or remove/add the relevant section (when removing, please include a link to relevant release notes threads from the Steam forums in the change summary!).
Card Encounter Prefab Wizard Doesn't Make Encounters
With a fresh SDK, the Encounter Card Prefab Wizard will not create new encounters, and will result in the following exception.
Parent directory must exist before creating asset at Assets/Prefabs/Encounters/EncounterTrees/EncounterTree_NewEncounter.asset. UnityEditor.AssetDatabase:CreateAsset(Object, String) Defiant.Modding.ParadoxNotion.Design.EditorUtils:CreateAsset(Type, String) Defiant.Modding.EncounterCardPrefabWizard:OnCreate(SerializedObject) ...
To work around this, open your modding project in a file browser, and create Encounters/EncounterTrees folders in Assets/Prefabs.
Variables Do Not Show In The Encounter Tab
If this occurs, select the Encounter prefab under Assets/Prefabs/Encounters/ in the Unity Project Browser and look for the Blackboard property of the Encounter (Script)' component in the Inspector. If this shows None (Blackboard), drag and drop the selected Encounter prefab into the Blackboard property's slot.