# Unity Render Streaming

## What is Unity Render Streaming?

Unity Render Streaming is a breakthrough technology that enables high-quality 3D content to be interactively streamed directly to web browsers and mobile devices without requiring downloads or installations. This allows real-time interactive streaming with complex models and environments.

<figure><img src="https://957593864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBZSLkY0LBQ4VmKzrByg%2Fuploads%2FbA4zhF4j5zcoK99WzTXv%2Fimage.png?alt=media&#x26;token=af79da2a-5682-4be1-9437-07f7cf488b7e" alt=""><figcaption></figcaption></figure>

To learn more about Unity Render Streaming, you can check our [Unity Render Streaming Complete Guide](https://vagon.io/blog/unity-render-streaming-overcome-limitations-with-vagon-streams) for a detailed explanation.

## Unity Verified Streaming Solution - Vagon Streams

As [Vagon Streams](https://vagon.io/streams/features/unity-streaming), we are proud to announce that [**Vagon Streams is an official Unity Verified Solution**](https://vagon.io/blog/vagon-streams-becomes-a-unity-verified-solution), and Vagon Streams official plugin is also accessible from [Unity Asset Store](https://assetstore.unity.com/packages/add-ons/vagon-streams-application-streaming-248734).&#x20;

{% embed url="<https://www.youtube.com/watch?v=NgCyvIVv42A>" %}
Vagon Streams - Unity Verified Solution
{% endembed %}

## How to use Unity Render Streaming?

### Preparing Application for Unity Render Streaming

Instead of the complicated configurations, you can easily use Unity Render Streaming by enabling the official Unity Render Streaming Plugin in your project, however, it does not allow users to set custom bitrate and FPS rates and it can cause streaming quality issues.&#x20;

So, as Vagon Streams, we developed an extended version of Unity Render Streaming plugin which has support for high-quality streaming quality preferences.

{% hint style="info" %}
Both Vagon Unity Render Streaming Plugin, and official Unity Render Streaming Plugin can be used to enable Render Streaming on your project, however, **we highly recommend you use Vagon Render Streaming Plugin** for better streaming quality.
{% endhint %}

### #1 - Enable Render Streaming Plugin in Unity

1. Select **Window > Package Manager** from the menu bar in the **Unity Editor**.

![Install Package Manager from menu bar](https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/images/install_select_packman_menu.png)

2. If you would like to use Vagon Render Streaming Plugin for a better streaming quality, follow the steps below. Or, if you would like to use Unity Render Streaming plugin, jump to the 3rd step.

a. Click **+** button and select **Add package from git URL**.

b. Type the git URL below to activate Vagon Render Streaming plugin in your project.

```
https://github.com/vagonhq/VagonUnityRenderStreaming.git
```

{% hint style="info" %}
If you would like to get the git URL manually, you can visit the [Github project page](https://github.com/vagonhq/VagonUnityRenderStreaming), and copy the HTTPS link by clicking on the **Code** button on the page.
{% endhint %}

<figure><img src="https://957593864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBZSLkY0LBQ4VmKzrByg%2Fuploads%2FlILyenTlJwC1T1ezU6xl%2FScreenshot%202024-09-11%20at%2010.49.39.png?alt=media&#x26;token=4eff897d-c0e4-4bcf-8df6-19b60fd5743f" alt="" width="563"><figcaption><p>Select add package from git URL</p></figcaption></figure>

3. If you would like to use official Unity Render Streaming plugin, follow the steps below.

a. Click **+** button and select **Add package by Name**.

![Select add package by name](https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/images/install_select_add_package_by_name.png)

b. Type the package name below to activate Render Streaming plugin in your project.

```
com.unity.renderstreaming
```

4. After you activate the plugin **Render Streaming Wizard** window will appear automatically. Click on **Fix All** button.

![Input system backend](https://docs.unity3d.com/Packages/com.unity.renderstreaming@3.1/manual/images/wizard_fixall.png)

### #2 - Upload Your Application and Create a Stream link

Upload your build in .zip format to Vagon Streams dashboard.

In case you need further instructions, you can check \[[how-to-start-streaming](https://docs.vagon.io/streams/guides/how-to-start-streaming "mention")]\(guides/how-to-start-streaming) page for a step-by-step guide.

<figure><img src="https://957593864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBZSLkY0LBQ4VmKzrByg%2Fuploads%2FpataULW91o1j0GcFo0qV%2Fimage.png?alt=media&#x26;token=ff1767a3-3b58-4378-a9b9-65104be3f8b3" alt="" width="563"><figcaption><p>Application Upload from Dashboard</p></figcaption></figure>

{% hint style="info" %}
Unity Render Streaming support is only available for the Unity experiences built for Windows operating system.
{% endhint %}

### #3 - Activate Unity Render Streaming

After activating Render Streaming inside your project, creating your build, and [uploading it to your Vagon Dashboard](https://docs.vagon.io/streams/broken-reference); you only need to activate Unity Render Streaming on the Stream Configurations page.

<figure><img src="https://957593864-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaBZSLkY0LBQ4VmKzrByg%2Fuploads%2FC6W0QguDAyHJvRkqD7UJ%2Fimage.png?alt=media&#x26;token=12378be9-118f-4eef-97a3-e99a14d535af" alt=""><figcaption><p>Unity Render Streaming</p></figcaption></figure>

### #4 - Start Streaming Your App with Render Streaming

Then, you will only need to click on the Stream link, and the system will automatically stream your application with Render Streaming technology.

You can use the Stream link on any device, and configure the Stream settings from your dashboard easily.

{% hint style="info" %}
Additional feature support can vary depending on the selected streaming protocol, please check the related feature page to ensure the coverage.
{% endhint %}

## Unity Render Streaming Troubleshooting

#### Unity Render Streaming Low Streaming Quality

When you face streaming quality issues on Render Streaming-enabled Unity projects, it might be because of Unity Render Streaming plugin. We highly recommend you use the Vagon Render Streaming plugin which provides high-quality streaming experience.

#### Unity Render Streaming Inputs Not Working

Unity Render Streaming only supports **Unity New Input System**, if your project supports Old Input System or Both configurations, it won't work properly.

You can solve the Inputs Not Working problem by activating Unity New Input System in your project.
