Describe the bug
When saving the game, CScriptKeyValues instances in VScripts are not saved. An error is printed in the console when saving and then when loading the keyvalues instance will be null;
Steps to reproduce
- Create a script that creates or loads a CScriptKeyValues instance
- Save the game, observe an error in the console
- Load the game. The instance will now be null.
Expected behavior
CScriptKeyValues instances should be saved and preserved when loading games
Additional context
Before loading save:

Error given when saving:

After loading save:

Describe the bug
When saving the game, CScriptKeyValues instances in VScripts are not saved. An error is printed in the console when saving and then when loading the keyvalues instance will be null;
Steps to reproduce
Expected behavior
CScriptKeyValues instances should be saved and preserved when loading games
Additional context
Before loading save:

Error given when saving:

After loading save:
