Skip to content

Creature are unable to find json file in custom export template (WIN64 and probably all platforms) #5

@Ranoller

Description

@Ranoller

I try to export your example of the "dino" with the custom windows templates with the creature module, and no mathers I pack all the files in executable, pck or zip in godot export, or if I use json file of the dino directly in the plugin or packed in the zip, the plugin doesn´t work in export. The files are exported (there is no problem in godot export, I configured that to export .json and .zip). The console shows that creature are unable to find json file. I think that the problem is that it try to find the file in "./" and not in "res://", but not sure.

I forgot: the plugin works in editor.

Edit: Godot version 2.1.4.
Export templates: Windows custom with and without debug in 64 bits.

More info:

Exporting project packed in exe (and json unzipped) throws:
CreatureGodot::load_json() - Loading file: ./utahraptorExport_character_data.json
CreatureGodot::load_json() - ERROR! Could not load file: ./utahraptorExport_character_data.json

Exporting project with assets packed in zip and json file unzipped:
Creature try to find the file inside the executable if it will be a directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions