How to stream the screen in unity to quest2

First of all, prepare a unity project, preferably version 2020 or above. Here I am using version 2020.3.33f1c2.

A total of three plugins need to be installed

Generally, you can search for xr in the unity registry

If there is no xr interaction toolkit plug-in, you can search the preview package of unity on the Internet, and just check it.

When you import the xr interaction toolkit, it will automatically restart unity, just select yes in the process

Then go to projectsetting to check

In fact, here and now you can stream, you can ignore the packaging settings of Android

Of course you can also set

Then switch platforms and select your device in build to start packaging

 Of course, we also need the application of oculus to help in series, go to the official website to download

After the download is complete, you need to register a Facebook account and then log in. Remember to turn on the developer mode, and there are many tutorials on the Internet

Then you can see the connection status in the device.

 At this time you put on your quest

Open the settings and wifi in the same panel of oculus link and click to enter, then click to run in unity to stream

 

 

 

Guess you like

Origin blog.csdn.net/weixin_48195035/article/details/130122768