Navigation

    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Users
    1. Home
    2. kotwys
    3. Best
    • Continue chat with kotwys
    • Start new chat with kotwys
    • Flag Profile
    • block_user
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by kotwys

    • RE: room.OnMessage not registered for Schema message: MyMessage

      The message itself contains only data so it isn’t used to detect the message type (you’re trying to catch “readyToStart” messages, right?).

      I don’t know how Unity client works but as I could understand it separates messages by classes names if not specified. So maybe this should look like this:

      room.OnMessage<MyMessage>("MyMessage", (message) => {
        // your code
      });
      
      posted in Questions & Help
      kotwys