docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Wire package

    The Wire package is meant for internal use only. It provides to Unity services the possibility to deliver real time messages to game clients using Websocket.

    Even though the Wire package is internal, it can still encounter issues preventing its proper functioning.

    Troubleshooting

    Assembly or namespace conflict with websocket-sharp

    Wire is relying on websocket-sharp to provide the Websocket implementation. If you are using websocket-sharp in your project, you might encounter conflicts with the version used by Wire. To avoid this, you can use the following workaround:

    • go to Player Settings -> Other Settings -> Scripting Define Symbols
    • add the following symbol: WIRE_EXCLUDE_WEBSOCKETSHARP

    The Wire websocket-sharp assembly won't be included in your build anymore.

    ⚠️ Please don't forget to add websocket-sharp to your project if you are using it, do not rely on the one present in the Wire package, we might pull it in the future.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)