twinestory
twinestory copied to clipboard
Can't load JSON file when exporting
When exporting, resulting game can't open the JSON file (different path?) Tested for Windows and Linux, using file packing into exe and into .pack.
Output:
Error while reading: res://story/intro.json
SCRIPT ERROR: parse: Invalid get index 'passages' (on base: 'Dictionary').
At: res://modules/twine-story/twine_script.gdc:16.
SCRIPT ERROR: get_start_node: Invalid get index 'startNode' (on base: 'Dictionary').
At: res://modules/twine-story/twine_script.gdc:136.
SCRIPT ERROR: show_paragraph: Invalid get index 'paragraphs' (on base: 'Dictionary').
At: res://modules/twine-story/story_label.gdc:35.
SCRIPT ERROR: get_story_name: Invalid get index 'name' (on base: 'Dictionary').
At: res://modules/twine-story/twine_script.gdc:112.
Story:
Passage names: []