Errors on startup
zauberparacelsus opened this issue · 2 comments
zauberparacelsus commented
I am getting some errors when opening the sample project.
First is this one:
core/variant/variant_setget.cpp:836 - Index index = 4 is out of bounds (3 = 3).
And then this set of errors:
godot/macros/VariantMacros.hx:259 - Cannot cast GDString to int
Called from example.HxExample.__bindCall (godot/macros/Macros.hx line 679)
Called from example.HxExample.set_hx_ImportantFloat (example/HxExample.hx line 82)
Called from HxGodot.main (HxGodot.hx line 63) (User)
dazKind commented
Hi there, yes, these errors are for demonstration purposes. It should be clear when you check the code.
See https://github.com/HxGodot/hxgodot/blob/main/tools/template/src/example/HxExample.hx#L61 and https://github.com/HxGodot/hxgodot/blob/main/tools/template/src/example/HxExample.hx#L82
dazKind commented
Ups, accidently closed. Lemme know if you have further questions