Issues with Relationship and Status saving
Posted: Mon Sep 07, 2020 12:29 pm
Hello!
I've just started integrating the Dialogue System into a project, and while it is a great asset, I'm having an issue with saving and loading, specifically with Relationships and Statuses. Everything else appears to be saving properly.
This issue would occur with both PlayerPrefs and disc files, so I do not think the problem is caused by how I'm saving. I know my Lua code is functioning properly, sense my conversations are changing according to the relationship in editor, but when I stop play mode, and saving should occur, these values are not saved. When I turn on debugging, I noticed that the keys for the Relationship/Status table always output as INVALID. (ex: RelationshipTable = "INVALID,1;").
Is there a specific setup necessary for these tables to save properly?
I'm using Unity 2019.3, and my current settings on the dialogue system object are as follows:
-Include Status/Relationship Data = true
-Include Actor Data = true
-All other fields false
-Include Sim Status = false
On the object, I have the following components:
-Save System
-Disk Saved Game Data Storer
-Binary Data Serializer
-Dialogue System Saver
-Auto Save/Load
I've just started integrating the Dialogue System into a project, and while it is a great asset, I'm having an issue with saving and loading, specifically with Relationships and Statuses. Everything else appears to be saving properly.
This issue would occur with both PlayerPrefs and disc files, so I do not think the problem is caused by how I'm saving. I know my Lua code is functioning properly, sense my conversations are changing according to the relationship in editor, but when I stop play mode, and saving should occur, these values are not saved. When I turn on debugging, I noticed that the keys for the Relationship/Status table always output as INVALID. (ex: RelationshipTable = "INVALID,1;").
Is there a specific setup necessary for these tables to save properly?
I'm using Unity 2019.3, and my current settings on the dialogue system object are as follows:
-Include Status/Relationship Data = true
-Include Actor Data = true
-All other fields false
-Include Sim Status = false
On the object, I have the following components:
-Save System
-Disk Saved Game Data Storer
-Binary Data Serializer
-Dialogue System Saver
-Auto Save/Load