So my Godot Editor is being built (using MSVC), and target preset with MinGW, but considering that the v8 libs don't exist for the target platform (NX), and I have no clue on how to generate them for that specific platform, I'm stuck on using QuickJS.
We have a MouseHandler.ts script, on a Node2D component, but everytime we try to run the code, we're getting the bellow message I rebuilt Godot in VeryVerbose mode to try to get more information out of it, but I will admit that I don't see the issue:
[quickjs][VeryVerbose] leave stack frame 8
[jsb][Log] slow process JSRealm.load: 0.068347 s (modules\GodotJS\bridge\jsb_environment.cpp:869)
[jsb][VeryVerbose] GodotJSScript module loaded res://.godot/GodotJS/DE/nodes/MouseHandler.js
[jsb][Log] slow process GodotJSScript.load_module: 0.068506 s (modules\GodotJS\weaver\jsb_script.cpp:432)
[jsb][Verbose] create instance 3456365348368 of Node2D(64962)
[quickjs][VeryVerbose] enter stack frame 8
[jsb][VeryVerbose] crossbind MouseHandlerGodot Node2D(59266) 3456365348368
[quickjs][VeryVerbose] enter stack frame 10
[quickjs][VeryVerbose] allocating internal data JSObject:3456472461040 id:30064771074
[jsb][Verbose] (newbind) constructing MouseHandlerGodot(res://.godot/GodotJS/DE/nodes/MouseHandler.js) which extends Node2D(59266) from script
[quickjs][VeryVerbose] set internal data JSObject:3456472461040 id:30064771074 data:3456365357584 (last:0)
[quickjs][VeryVerbose] _add_reference 64
[jsb][VeryVerbose] bind object class:Node2D(59266) addr:3456365357584 id:281436322004994
[quickjs][VeryVerbose] leave stack frame 10
[quickjs][VeryVerbose] set internal data JSObject:3456472461040 id:30064771074 data:3456365348368 (last:3456365357584)
ERROR: overwriting the internal field is not allowed
at: (modules\GodotJS\impl\quickjs\jsb_quickjs_object.cpp:22)
================================================================
CrashHandlerException: Program crashed
bad code base on our side, someone was duplicating a Singleton (residue of the old code with the ECMAScript where you could not create new nodes, and had to duplicate an existing one).
Hello,
So my Godot Editor is being built (using MSVC), and target preset with MinGW, but considering that the v8 libs don't exist for the target platform (NX), and I have no clue on how to generate them for that specific platform, I'm stuck on using QuickJS.
We have a MouseHandler.ts script, on a Node2D component, but everytime we try to run the code, we're getting the bellow message I rebuilt Godot in VeryVerbose mode to try to get more information out of it, but I will admit that I don't see the issue:
Regards, Thelvaen