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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Question Please help me with the problem of HTML afterimage and no response when exe ends

Discussion in 'Unity Render Streaming' started by chealin, May 24, 2022.

  1. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    47
    Hello
    I have a question.
    (Unity version: 2019.3.14f
    RenderStreaming version: 2.0.2)


    1. Program failed to exit properly
    Run the Render Streaming program after you build it and it works well.
    But when I shut it down, the program doesn't turn off immediately and it stops.
    (I force the Windows program to shut down.) View attachment 1058951
    What should I do to solve this?
    upload_2022-5-24_14-45-36.png


    2. Afterimage
    If you rotate the object during streaming,
    An afterimage occurs on the HTML screen.
    upload_2022-5-24_14-44-54.png

    Please let me know if there's a solution
    Thank you.
     
  2. kazuki_unity729

    kazuki_unity729

    Unity Technologies

    Joined:
    Aug 2, 2018
    Posts:
    575
    Why are you using the old version?
     
  3. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    47
    I wanted to use the latest version.
    However, there was a problem using the latest version (RenderStreaming: 3.1.0, unity: 2020.3.28f).
    There was no problem using version 2.0.2, so I used it.

    --
    (Use Sample Project)
    Turn on the server
    After playing in the Unity editor,
    Successfully accessed http://localhost.
    At this point, the screen came out.
    but
    If you turn it off and run it again, the screen won't show
    These problems were frequent and the latest version was not available.

    Please let me know if you have a solution

    Thank you.
     
    Last edited: May 25, 2022
  4. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    47
    Hello
    I ran the latest version again
    This is my first project, so I missed something

    When running the webserver, it should be set to cmd websocket
    So it's continuously working

    But I want to run it on http
    From the Inspector
    RenderStreaming-sinalingType-httpSignaling,
    Signaling URL - http://localhost
    I set it up as above, but when I play, it changes to websocket

    How do you run it on http?
    Thank you.
     
    Last edited: May 25, 2022
  5. kannan-xiao4

    kannan-xiao4

    Unity Technologies

    Joined:
    Nov 5, 2020
    Posts:
    46
    We noticed about Http Signaling issue and will fix this issue next version. (3.1.0-exp.4)
    We notify you if fixed this issue on develop branch or please wait next com.unity.renderstreaming package release.
     
  6. chealin

    chealin

    Joined:
    Sep 10, 2017
    Posts:
    47


    I solved the problem of leaving afterimages

    By setting the codec to vidoe/VP9 profile id=0,

    it was clear and there were no afterimages left.