-
-
Notifications
You must be signed in to change notification settings - Fork 43
Description
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)