ephread / inkgd

Implementation of inkle's Ink in pure GDScript for Godot, with editor support.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to find Json file in export

shrnjad opened this issue · comments

Describe the bug
My game runs fine in the Editor. When I export to Mac build or run in Firefox, it is unable to load the Ink Json file.

The exported game is unable to find the Ink file an logs this error:

Condition ' !f ' is true. returned: String()
At: core/bind/core_bind.cpp:1755:get_as_text() - Condition ' !f ' is true. returned: String()

I have added *.json to the export filter in export settings, so the file should be exported.

I also came along this issue in another plugin, where the Json files get consumed by the plugin:
vnen/godot-tiled-importer#85

Sorry if this is the wrong place to ask, but could this be something related to Inkgd?

To Reproduce
The project is in a private gitlab repo, but I am happy to give read access.

Expected behavior
Ink Json file should be read same from export as from editor.

Environment:

  • OS: macOS Mojave 10.14.5
  • Inklecate version: 0.9.0
  • inkgd version: 0.1.3

There was a file next to the json file in the project folder with the ending .json. After deleting that file, the json was exported to the build.

That solves it for me, but I should now read up on the .import-files. 😉