Skip to content

Export builds don't seem to function properly in v8 for android or web #188

@randomdevpete

Description

@randomdevpete

Once I get an exported build running, I'm hitting all kinds of script errors. The build runs fine if I'm just using Godot nodes but as soon as I've attached a .ts script to a node I start getting problems. Specifically there is something wrong with get/set accessors so I'm unable to write to any properties on a node.

A very simple demonstration is to create a test scene with a sprite, then try to create a timer using this.get_tree().create_timer(1), and now try to connect to the timeout signal. I get an error that the timeout signal does not exist.

Alternately if I try to create the Timer node manually then set its properties and add it to the scene, I get an error that the properties have no set accessor.

Either example works fine just running the project directly in Godot, just the exported builds do not work.

(The same project using the qjs editor I'm able to export and run fine, so it's certainly an issue with the v8 editor and/or export templates)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions