twinestory icon indicating copy to clipboard operation
twinestory copied to clipboard

Can't load JSON file when exporting

Open lemilonkh opened this issue 8 years ago • 0 comments

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: []

lemilonkh avatar Feb 26 '17 17:02 lemilonkh