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
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved Unity Render Streaming Bidirectional + Screenshot

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

  1. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    I am using Unity Render Streaming Bidirectional example. I take a screenshot. Screenshot texture is not displayed correctly. With the component turned off, the screenshot texture is displayed perfectly.
     

    Attached Files:

  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    803
    Hi, do you use the unity API ScreenCapture.CaptureScreenshot to take a screenshot? Surely, we never tested it yet.
     
    SBV likes this.
  3. SBV

    SBV

    Joined:
    Jun 3, 2020
    Posts:
    22
    Hello. Thank you!
    Yes, I am using the ScreenCapture.CaptureScreenshot API. I figured it out. There were wrong settings when taking a screenshot.
     
  4. 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?