Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Multiplay Dedicated Server - Could not get subscription with channel[server#45456644] from subscript

Discussion in 'Game Server Hosting' started by bduckstudios, Mar 21, 2023.

  1. bduckstudios


    Jan 25, 2023
    When trying to initialize the server,
    I occasionally get those errors, then the server crashes:

    [Wire]: Could not get subscription with channel[server#45456644] from subscription repository!
    [Wire]: Could not get direct subscription channel[] Defaulting to first subscription!
    The Wire server is sending publications related to an unknown channel.

    Full logs are attached.

    Those are called when calling the MultiplayService.Instance.SubscribeToServerEventsAsync().

    Does someone have a possible solution for this?

    There are literally no reproduction steps, it just happens sometimes, sometimes not. Looks totally random.

    Thanks in advance,
  2. SuperBytes


    Jan 28, 2020
    Same here!

    I think it shouldn't be Random. i'll try to explore on the timings of the operations because probably it's related to try to subscribe to something that isn't ready yet...
  3. jackw_unity


    Unity Technologies

    Oct 12, 2022
    Good day both,

    We've been working on investigating the root cause of this one internally but it has been tough for SDK engineers to reliably reproduce also. It is believed that this issue likely lies within the Embedded Wire package version that is provided as part of the pre 7 release of our SDK.

    A custom package has been created for this which I recall Omer has tried with some success should you like to try it SuperBytes.

    Would you be willing to add it to your game to see if that helps somewhat?

    Engineers provided this information to help with manual integration of the package:

    Attached is a modified version of 1.0.0-pre.8 with EmbedWire updated to use code from Wire version 1.1.4 .

    The customer can load this package tarball with the instructions from here (they should remove any other Multiplay SDK versions first).​

    Due to Forum limitations around file extension names please firstly download the zip file and extract it to get the file before following the above instructions.

    Additionally, if you're uncomfortable downloading files via our forum please submit a support ticket to us via and I will be happy to provide files there.

    Attached Files: