Endel Dreyer

Results 381 comments of Endel Dreyer

Interesting, thanks for the report @sticmac. If you can could you share the version of Unity you're using? **EDIT:** Also, are you possibly using ["Managed Code Stripping"](https://docs.unity3d.com/Manual/ManagedCodeStripping.html)? If enabled your...

Hi @sticmac, would you mind providing the full stack trace for us? And perhaps a small reproduction scenario where we can check this error happening?

Hi @rnd256, thanks for reporting as always. Forgive my ignorance but in which situation would `room.Send()` fail? I can only think of operating on a disconnected WebSocket, if that's what...

Hi @sorrow31812, for plain JavaScript it is a bit complicated, the general suggestion is to always use TypeScript: ```javascript // javascript const schema = require("@colyseus/schema"); // create a new context...

Another known appearance of the "schema-mismatch" problem was just found by @drburton when duplicating a field name through inheritance. Just documenting this here, as a fix is coming soon! **How...

Hi @aixasz, thanks for reporting. Could you possibly share a repository where we can reproduce this error? Does this happen on any clean NextJS app?

Hi @soile1991 and @lee-orr, thanks for reporting, and sorry for the delay to answer. (I was on vacation the last few weeks) It is likely that ArraySchema's decoder is the...

Thanks for providing a reproducible example @soile1991 🥳 I've spent some time debugging it, and there were a few small issues decoding ArraySchema. Could you confirm if copying the latest...

@lee-orr can you try this version and see if works for you? https://gist.github.com/endel/ace4cf759161cb94ffbe07f0552af1f9 The problem on ArraySchema was because `GetByIndex()` was returning `default(T)` instead of `null` for non-existing entries. It's...

It seems this issue has some connection to this one, which has been (hopefully) fixed here: https://github.com/colyseus/colyseus/issues/495#issuecomment-1276545324