Skip to content

[VSCRIPT] CScriptKeyValues instances not being saved #100

@JillCrungus

Description

@JillCrungus

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

  1. Create a script that creates or loads a CScriptKeyValues instance
  2. Save the game, observe an error in the console
  3. 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:
image

Error given when saving:
image

After loading save:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingVScriptMapbase - Involves VScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions