Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

InputReceiver and InputSender PRIVATE server mode.

Discussion in 'Unity Render Streaming' started by SBV, Feb 10, 2023.

  1. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    One more question. I am using PRIVATE server mode.
    I took the bidirectional example. Hung up on one InputSender, and on another InputReceiver. For some reason, the connection order affects the Input component. That is, if I connect the first InputSender, and then the InputReceiver, the Input transfer works.
    If I connect the other way around, the first InputReceiver, and then InputSender, then Input does not work. How to be?
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    I assume that InputSender and InputReceiver should be existed before starting signaling process.
     
    SBV likes this.
  3. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    Hello.
    Both components are in place prior to the signaling process.
     
  4. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    OK, I will check the issue.
     
  5. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    OK. Waiting for an answer. Thank you
     
  6. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    I checked the issue and found that it is difficult to solve immediatelly.
    Maybe you can use workaround that using "Is Local" flag in Input Sender/Input Receiver component.
     
  7. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    Thank you. The problem was solved by adding both components to the object.
    That is, if one at a time, then this problem arises.