# VR Preview working in UE4 But not in UE5

**URL:** <https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, Android, Widget, question\
**Created:** [January 21, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146 "2023-01-21T13:26:15Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 21, 2023, 1:26pm UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/1 "2023-01-21T13:26:16Z")

</div>

Hello Everyone,

Thanks in advance for the help.

I am not able to locate the VR Preview in UE5. Seems like it has been disabled or something.

Please Note - It’s working fine in UE4 Version.

Thanks

 ![01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/e/60e1d330927b1d6d7f2625cb4902732009f4e8f3.jpeg)  
 ![02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/9/6b948a186072adb80ad67be8b1911a11c58cb71f.jpeg)

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 23, 2023, 8:59am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/2 "2023-01-23T08:59:28Z")

</div>

Hey there @Nirlep_Id! Welcome back to the community! So the VR preview is polled just once when the project opens, so you need to have your headset and SteamVR active and connected before you open the project fully, otherwise that launch type stays locked.

What HMD are you using?

---

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 28, 2023, 9:22am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/3 "2023-01-28T09:22:21Z")

</div>

Thanks for your reply.  
Yes, the headset and Steam Vr are connected.

Quest is connected in UE5 ( Screen Shot below)  
I am using Oculus Quest 2

 ![image_2023_01_28T08_35_52_860Z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/3/0933cbc8124a23ec096261775be41e84f6914d17.png)

When I click on Quest 2 Launch it makes the apk package for the quest. But what I am looking for is a VR preview, not the package.

Thanks again for the help.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 28, 2023, 11:19pm UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/4 "2023-01-28T23:19:23Z")

</div>

That is… odd. We’ll just run through a quick checklist, because in general the headset needs to have the oculus software and steamVR connected and registering the headset before you can launch Unreal. If you launch UE and then connect the headset it doesn’t register it for the play menu.

So first we launch the oculus software and connect the headset via airplay or cable and verify in the software it shows Connected and info about your headset (ignore that mine died right before I took this image):

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/c/dac91ee3a9c4c0d4f6b2f73b1619ad2b0e05992b.png)

Then, in headset or outright launch SteamVR and look for the viewport change in the HMD  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/f/9bf9d4e4f1adc7dac5e47ef0101f481c21072199.png)

Then finally you can launch the engine (if launched before this step it will not be there), click the 3 dots (ignore the platform dropdown) and you should see the VR preview lit again.  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/e/f7e00328719dae10b8c9c644e405882bc2dec47e.png)

If after following all of that it still doesn’t recognize the device is connected, this might be an ecosystem issue.

---

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 30, 2023, 10:12am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/5 "2023-01-30T10:12:17Z")

</div>

Hello there,

Thanks for helping out on this. Really appreciate it.

I did the same as you mentioned.  
I connected my oculus and Steam VR before launching the UE5. Still, it’s not showing the VR preview option.

The problem is, WIth the same settings I am able to see it on the ue4 version.

Is something turned off by default that we need to turn on in ue5?

Also, what do you mean by “ecosystem issue” Sorry could not understand that.

Thanks again.

---

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 30, 2023, 10:46am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/6 "2023-01-30T10:46:32Z")

</div>

Hello Again,

Currently, I am using the below option to run it.

 ![image_2023_01_30T10_39_19_438Z](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/f/12f5ac00ca4ebfde32074f34f8c2c376639a5cfc.png)

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/c/5accbc0c814b75e6e7f2c8d8ba7b84be33dbd038.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/c/5accbc0c814b75e6e7f2c8d8ba7b84be33dbd038.mp4)

It does play in steam after the packaging process. But Still not showing VR PREVIEW option under the platform tabs.

Thanks again.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 31, 2023, 1:35am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/7 "2023-01-31T01:35:36Z")

</div>

I’ve been seeing recent reports of OpenXR sessions being destoyed on launch, and sometimes not making the connection with SteamVR. So this could be connected with those issues, which are suspected to be because of an oculus driver update (but we’re still getting info on that). Is it just grayed out under the modes tab here? (not under the platforms?)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/f/16f76632774640829c1d1eefa687a8d8a5e20617.png)

---

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 31, 2023, 6:05am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/8 "2023-01-31T06:05:42Z")

</div>

It’s not under the Platforms.

Thanks

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 31, 2023, 8:55am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/9 "2023-01-31T08:55:53Z")

</div>

Oh sorry about that! Got stuck on your verbiage, the preview portion isn’t what you were looking for but the build utilities itself. That “Quick Launch” menu inside of platforms is for quick building and not so much the preview. Are the android platform SDK’s set up and targeted correctly for UE5? The quest quick launch target could be missing in that case.

Reference thread:

> [@Oculus Quest not being detected by Unreal Engine](https://forums.unrealengine.com/t/oculus-quest-not-being-detected-by-unreal-engine/450960/11):
>
> FYI for others with this issue - you may need to set this even if your environment vars are correct. My environment variables were all set correctly: (ANDROID\_HOME, NDKROOT, JAVA\_HOME). Android Studio set them up when installed… BUT Unreal did not see my Quest 2 until I manually set those values in the settings as you have suggested. I literally just copy and pasted the values from my environment variables window to Unreal, then saved. Unreal instantly saw my Quest 2 after this, even without a…

---

<div class="post-metadata">

**Author:** ![Nirlep\_Id](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nirlep\_Id](https://forums.unrealengine.com/u/Nirlep_Id)\
**Post date:** [January 31, 2023, 9:47am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/10 "2023-01-31T09:47:54Z")

</div>

Yes, SDK is set up correctly.  
Please let me know if you want me to refer to any specific video for that.

Well regarding the reference thread you mentioned, My quest is attached to the unreal as you can see in my previous Screenshot and video, The only problem is VR PREVIEW is not there.

Thanks.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [February 1, 2023, 9:34am UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/11 "2023-02-01T09:34:17Z")

</div>

Hmm, if the SDK and root values are correct and it didn’t reappear after connecting them, it could be a bug. I haven’t been able to find any more information on the matter.

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [February 1, 2023, 8:38pm UTC](https://forums.unrealengine.com/t/vr-preview-working-in-ue4-but-not-in-ue5/754146/12 "2023-02-01T20:38:13Z")

</div>

Hi all,

I don’t think it was explicitly mentioned in this thread: But the Oculus VR plugin is now disabled by default in 5.x, In Project Settings → Plugins try enabling ‘Oculus VR (deprecated)’

Also, make sure you’re running the Oculus App on your PC and are in Airlink/Wirelink on your Quest before starting UE. (Running SteamVR ontop of Oculus VR is not necessary for VR Preview)
