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.
Check Package Manager window, Click Advanced
button and enable Show preview packages
.
Input renderstreaming
to the search box at the top of the Package Manager window.
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
Case of Unity 2020.2
Select Window/Package Manager
in the menu bar.
Check Package Manager window, Click +
button and 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
Install web application
Click on Edit/Render Streaming/Download web app
menu item to download the application from this page.
When the select download folder window appears, click on Select Folder
to download the file to the default folder
After the download is finished and a new explorer window is opened, click on webserver.exe
to start
Unity RenderStreaming web server.
Install samples
You can import Samples from the bottom of the com.unity.renderstreaming
package in the PackageManager Window.
Play Unity
Open WebBrowserInput
scene.
Enter play mode in Unity Editor.
Open your web browser and access http://localhost
. You can see the top page. Click a VideoPlayer Sample
link.
You can see the Unity scene on the browser, and control a camera in the Unity scene.
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.