Maximum call stack size exceeded when create client
NocoleNe opened this issue · comments
Haxe Compiler 4.2.5, Windows 11,
colyseus 0.14.9 for haxe
test code
var client = new io.colyseus.Client("ws://localhost:3000");
client.joinOrCreate("roomeName", [], State, registRoomEvent);
function registRoomEvent(err:MatchMakeError, room:Room) {
trace("registRoomEvent");
}
Some error message from browser console,
src/netTest/NetScene.hx:146: registRoomEvent
Log.hx:66 io/colyseus/serializer/schema/Schema.hx:514: WARNING: @colyseus/schema definition mismatch?
Boot.hx:82 Uncaught RangeError: Maximum call stack size exceeded
at [Symbol.hasInstance] ()
at js_Boot.__string_rec (Boot.hx:82:31)
at Std.string (Std.hx:48:26)
at netTest_State.toString (Schema.hx:764:34)
at js_Boot.__string_rec (Boot.hx:113:16)
at Std.string (Std.hx:48:26)
at netTest_State.toString (Schema.hx:764:34)
at js_Boot.__string_rec (Boot.hx:113:16)
at Std.string (Std.hx:48:26)
at netTest_State.toString (Schema.hx:764:34)
Hi @NocoleNe, can you provide a repository with build instructions so we can reproduce this?