You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error calling constructor ArrayBuffer with args:
Array [ 10n ]
error: TypeError: can't convert BigInt to number
_godot_js_wrapper_create_object http://localhost:8060/tmp_js_export.js:13437
Godot http://localhost:8060/tmp_js_export.js:596
callMain http://localhost:8060/tmp_js_export.js:15658
Engine http://localhost:8060/tmp_js_export.js:16562
Engine http://localhost:8060/tmp_js_export.js:16557
promise callback*start http://localhost:8060/tmp_js_export.js:16536
Engine http://localhost:8060/tmp_js_export.js:16595
promise callback*startGame http://localhost:8060/tmp_js_export.js:16594
<anonymous> http://localhost:8060/tmp_js_export.html:181
<anonymous> http://localhost:8060/tmp_js_export.html:195
USER SCRIPT ERROR: Attempt to call function 'create_object' in base 'JavaScriptBridge' on a null instance. tmp_js_export.js:16235:18
at: _init (res://main.gd:7) tmp_js_export.js:16235:18
I'm guessing JavaScriptBridge has changed since 4.2.2 and the documentation hasn't been updated yet. I'd like to use the bridge, what's the best way to find out how?
Tested versions
System information
Windows 10.0.22631 - GLES3 (Compatibility) - AMD Radeon RX 7700 XT (Advanced Micro Devices, Inc.; 31.0.24033.1003) - AMD Ryzen 7 5700X3D 8-Core Processor (16 Threads)
Issue description
The example code in https://docs.godotengine.org/en/latest/classes/class_javascriptobject.html#class-javascriptobject throws the following error:
I'm guessing JavaScriptBridge has changed since 4.2.2 and the documentation hasn't been updated yet. I'd like to use the bridge, what's the best way to find out how?
Steps to reproduce
Run MRP in a browser.
Minimal reproduction project (MRP)
js-test.zip
The text was updated successfully, but these errors were encountered: