docs.unity3d.com
    Show / Hide Table of Contents

    Tutorial

    In this page, we introduce the way to use samples published on Package Manager.

    Install package

    Note

    In Unity 2020.2 and 2019.4, there are differences about how to install Unity Render Streaming package so please pay attention to the Unity version you are using and follow the instructions below.

    Case of Unity 2019.4

    Select Window/Package Manager in the menu bar.

    Install Package Manager from menu bar

    Check Package Manager window, Click Advanced button and enable Show preview packages.

    Select show preview packages on advanced options

    Input renderstreaming to the search box at the top of the Package Manager window.

    Search renderstreaming package

    Click Install button at the bottom left of the window, and will start install the package.

    If an input system dialog box appears, click Yes

    Input system backend

    Case of Unity 2020.2

    Select Window/Package Manager in the menu bar.

    Install Package Manager from menu bar

    Check Package Manager window, Click + button and select Add package from git URL....

    Select add package from git url

    Input the string below to the input field.

    com.unity.renderstreaming@3.0.1-preview
    

    The list of version string is here. In most cases, the latest version is recommended to use.

    Click Add button, and will start install the package.

    If an input system dialog box appears, click Yes

    Input system backend

    Install web application

    Click on Edit/Render Streaming/Download web app menu item to download the application from this page.

    Download webapp

    When the select download folder window appears, click on Select Folder to download the file to the default folder

    Select Download folder

    After the download is finished and a new explorer window is opened, click on webserver.exe to start Unity RenderStreaming web server.

    Web Server

    Install samples

    You can import Samples from the bottom of the com.unity.renderstreaming package in the PackageManager Window.

    Sample List

    Play Unity

    Open WebBrowserInput scene.

    Open WebBrowserInput scene

    Enter play mode in Unity Editor.

    Play mode

    Open your web browser and access http://localhost. You can see the top page. Click a VideoPlayer Sample link.

    Main page on the browser

    You can see the Unity scene on the browser, and control a camera in the Unity scene.

    Video player sample on the browser

    After tutorial

    About general questions, please see FAQ page. About the operation of inspectors, please see Components settings page.

    About options of web application, please see The web application page.

    You can see more details for samples on the Samples page.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023