Search Unity

IPC via named pipes, Linux troubles (Unity 2019.4.0f1)

Discussion in 'Linux' started by florenzio-panzanelli, Mar 2, 2021.

  1. florenzio-panzanelli

    florenzio-panzanelli

    Joined:
    Oct 5, 2015
    Posts:
    1
    Hi!
    I have an external C# application that must communicate with Unity.
    I implemented a simple request/response exchange via NamedPipeClientStream/NamedPipeServerStream.
    The NamedPipeServerStream is in the external application.

    On Windows, the communication works fine (using .NET 4.x, Mono backend).
    On Linux, the Unity application gets stuck when trying to read from the pipe, after connecting.

    Any idea about what could be wrong?
    Thanks!