How to easily add VR to any UE5 project

  Рет қаралды 62,488

iBrews

iBrews

Жыл бұрын

This is the Electric Dreams Unreal Engine 5.2 sample from GDC2023

Пікірлер: 141
@ibrews
@ibrews 4 ай бұрын
Before you package, be sure to hit the checkbox in project settings for “start in VR” or use the launch parameter -vr
@bigblueceiling8113
@bigblueceiling8113 5 ай бұрын
Oh my god... I was all prepared to watch a 49 minute video that begins with the life story of the KZfaqr, four ads for nutritional drinks, and a documentary on the history of virtual reality, interspersed with long-winded explanations for what "OpenXR" is, who developed it, the a list of alternative plugins and how each one of them works and differs from the others... Only to find it's a 49 SECOND video, where setup is complete 17 seconds in and then we just look around the world a bit. Bravo!
@ibrews
@ibrews 5 ай бұрын
Lolol now I want to make that first video :P
@EdH
@EdH 7 ай бұрын
This is how all youtube tutorials should be, straight to the point 👍
@stewartwood7577
@stewartwood7577 2 ай бұрын
OMG if only all tutorials were as precise and to the point as this one... Much appreciated.
@TheGabbaghost
@TheGabbaghost 11 ай бұрын
Short, simple and very helpful! Thank you!
@adamcullen7892
@adamcullen7892 Жыл бұрын
This was the first thing i did when the project dropped, hahaha! The frame rate was stomach turning, but the fact that it runs in VR on epic settings, without crashing, without errors really, right out of the box, is down right amazing. And it just looks so good! I love VR as it is today, but I'm so excited for what VR is going to be like in two or three more years.
@ibrews
@ibrews Жыл бұрын
Did you try turning down Vr pixel density to increase framerate ?
@adamcullen7892
@adamcullen7892 Жыл бұрын
@@ibrews not yet, I pretty much just turned it on, made a bunch of Owen Wilson "wow!" noises, and then went back to working on my regular job. I'm going to play with it more tonight though.
@ibrews
@ibrews Жыл бұрын
@@adamcullen7892 hahahah
@IstiakAhmed_UE5_VR-Dev
@IstiakAhmed_UE5_VR-Dev 11 ай бұрын
@@ibrews Thank you very much for this Awesome tutorial . Can i know, How is it working without navmesh?
@ibrews
@ibrews 11 ай бұрын
@@IstiakAhmed_UE5_VR-Dev you actually will want to create a nav mesh if you want to use teleportation
@jarrahtree5130
@jarrahtree5130 10 ай бұрын
This is so gorgeously to the point; thank you
@ibrews
@ibrews 10 ай бұрын
You’re welcome!
@starchaser28
@starchaser28 Жыл бұрын
Another great tutorial. Thank you, this looks amazing!!!
@mr.honkers7986
@mr.honkers7986 2 ай бұрын
best tutorial i have ever seen, done in under 20 seconds, it brings a tear to my eye, beautiful.
@LillyIsPink
@LillyIsPink 4 ай бұрын
Quick, no BS, straight to the point! Balanced, like all things should be.
@bobbysloft
@bobbysloft Жыл бұрын
That's what I was looking for. Amazing! Thank you!
@CloudStrife4
@CloudStrife4 3 ай бұрын
You my friend, are the BOSS of the day! Thanks
@B_Bgames
@B_Bgames 3 ай бұрын
I've been looking for hours thanks
@lasereye159
@lasereye159 4 ай бұрын
jooooo, great tutorial. short and on point... and working ;)
@AGCreationsflorida
@AGCreationsflorida 4 ай бұрын
I just did a tutorial on textures like this, quick and to the point I love it.
@jaysonwall434
@jaysonwall434 6 ай бұрын
Perfect! Thank you 🎉
@sethdaigle2284
@sethdaigle2284 9 ай бұрын
top tier, thank you
@jonathansaad9256
@jonathansaad9256 5 ай бұрын
Beautiful put
@ji3200
@ji3200 2 күн бұрын
Thank you so much!
@timurlenke87
@timurlenke87 5 ай бұрын
great thank you
@darthtiberiu5
@darthtiberiu5 11 ай бұрын
Hey @iBrews thanks for th great video. It would be useful to put your specs and setup in the description box too please :)
@krishnas299
@krishnas299 9 ай бұрын
Hey iBrews thanks for the amazing tutorial firstly. Just wanted to know would this work if i have used any other template other than the VR template before starting off. In short without using the VR template if i add the OpenXR plugin and follow the above steps would it be VR compatible?
@JimJams-qf9vv
@JimJams-qf9vv Ай бұрын
If this works, you’ve saved me a lot of pain!
@arek2505
@arek2505 Жыл бұрын
Does anyone now how to avoid problem with "unstable" level of floor? I noticed that floor " "follow" with some head moves. It makes everything quite unrealistic. I was trying to make virtual prototype of doors in a real scale. I use vr game template and import my project by datasmith plugin. Do you have any experience with simmilar issue?
@Fikarblackproject
@Fikarblackproject 9 ай бұрын
hai bro im using unreal 5.31, my vr preview still unable, shoul i use ocolus first to enable it? thanks
@ahrazmara
@ahrazmara 5 ай бұрын
Hi , thank you for this super helpfull video. By far the best tutorial in the least time, bravo 👏👏👏👍👍👍 i have a question for u as well. Is there a way to activate the teleportation pointers when game starts? Again thanks!
@viledeacon9995
@viledeacon9995 6 ай бұрын
so ive got the rift s. when i do all this it works, except the image doesnt come through the headset. its just on the screen. what am i doing wrong.
@BlackLyric18
@BlackLyric18 11 ай бұрын
bro has the nasa pc
@deepanshu3800
@deepanshu3800 9 ай бұрын
This worked well but the is so much Lag when I put on Oculus (quest 2) please tell how can I fix the Lag
@OriginRow
@OriginRow 10 ай бұрын
It reminds me of Climb Game
@galberger3937
@galberger3937 3 ай бұрын
Hi. Can you show how to add a gun or a sword into the project and ick it u when you are in vr mode?
@MBuchahim
@MBuchahim 10 ай бұрын
Dios te bendiga amigo
@aaronodum1595
@aaronodum1595 2 ай бұрын
Very beautiful. Thank you. What kind of inputs would be necessary to make the leaves move when "touched"?
@ibrews
@ibrews 2 ай бұрын
The tree (and leaves) would need to have some kind of physics body to detect collisions
@sarvaryulchiev7496
@sarvaryulchiev7496 9 ай бұрын
pfffffffff the beginners are happy
@Medicbobs
@Medicbobs Ай бұрын
This is the super fast way but I had a question. If I have a first person game character. How can I replace the first person camera with a VR camera so I can play normally but with the view in VR?
@geroldwaefler9485
@geroldwaefler9485 7 ай бұрын
Anyway its not what i am searching for... ...i search since 2 years something useable for to make Stereoscopic 3D Movierenderings, but if i put this in You Tube, immediately pops up hundreds of 360degree stuff and soon late VR stuff instead stereoscopic rendering. You Tube is so much stupid... looks like there is not a stereoscopic in Unreal Engine and this is a problem if i have animated foliage in the scene and want render the left and right cam in two seperate renders instead simultaneous...
@cyanuranus6456
@cyanuranus6456 6 ай бұрын
Cooley-o
@zeNUKEify
@zeNUKEify 11 ай бұрын
Any way to change the render resolution of the VR preview? Or do you have to package
@ibrews
@ibrews 11 ай бұрын
r.screenpercentage should work!
@zeNUKEify
@zeNUKEify 11 ай бұрын
@@ibrews Thank you! I've also noticed after some digging that the VR pawn also apparently has a console command for setting vr.PixelDensity to 1.0, which after I changed appeared to have an effect. I can't quite tell if setting PixelDensity to 1.5 in the console beforehand overrode the command in the VR pawn but in anycase I did both and it works!
@christianmccauley7340
@christianmccauley7340 4 ай бұрын
Ugh, such a good video. Can this setup build for quest standalone? I mean, obviously not this exact project, but does this process allow for that?
@ibrews
@ibrews 4 ай бұрын
Yes but you need you do all the setup work for Quest. Good community guide: dev.epicgames.com/community/learning/tutorials/3Vx6/unreal-engine-5-3-2-for-meta-quest-vr
@dazwraps8213
@dazwraps8213 Ай бұрын
What about if the Unreal Engine project already has enabled the 3rd person content pack? BTW Amazing tutorial...
@brettcameratraveler
@brettcameratraveler 5 ай бұрын
Curious to know your take. I've tried this on the Electric Dreams Demo with a 4080/threadripper and noticing two things: 1) This method works but Unreal's Virtual Scouting plugin method is a choppy mess. Why? 2) Each eye in the headset is very clean individually but when viewed together stereoscopically, there seems to be a minor disparity in the way the scene is rendered between the two eyes and I don't mean the parallax but more a minor inconsistency in how all - and even distant objects are reentered. Is that a Nanite issue - perhaps not yet designed for consistency in stereoscopic rendering?
@ibrews
@ibrews 5 ай бұрын
Try enabling or disabling instanced stereo. Also try a different AA method
@retikulum
@retikulum 5 ай бұрын
The VR preview works without the project being VR itself and without the VR content.
@ibrews
@ibrews 5 ай бұрын
you do need openxr enabled at least
@retikulum
@retikulum 5 ай бұрын
@@ibrews right
@clueloss5373
@clueloss5373 5 ай бұрын
hi if I build this project to windows the vr functionalities dont stay..
@ibrews
@ibrews 5 ай бұрын
Hit the “start in Vr checkbox in project settings” or launch your current build with -vr
@petricaalexandru4636
@petricaalexandru4636 Жыл бұрын
nice tutorial, on with what headset did you make this?
@ibrews
@ibrews Жыл бұрын
Quest Pro
@Robin-lf3je
@Robin-lf3je Жыл бұрын
Great mini tutorial! Somehow when I follow you steps, i can see in in my HMD, but I can only look around by moving the mouse, not by looking arround. Also, where did you reduce the lumen settings and the VR pixel density? (Sorry for this simple questions, I am an absolute beginner and only downloaded UE5 for this demo yesterday)
@ibrews
@ibrews Жыл бұрын
Did you set OpenXR in your runtime ? Did you change the game mode?
@ibrews
@ibrews Жыл бұрын
kzfaq.info/get/bejne/gp6kktOAz7-6qmg.html
@Robin-lf3je
@Robin-lf3je Жыл бұрын
@@ibrews I did all the steps you did in this video. (including the openXR plugin and the game mode) I end up with a 3D stereoscopic Image which is only movable through keyboard or mouse inputs. Funnyli, i can see when i move the head, that the headset tracking works, but som magic force seems to imeadiateley recenter the image. It might be because I use a Reverb G2. Thank you so much for answering anyway. Since everything works fine in the VR Template, i will try to add the electric dreams project to a vr template and see if it works.
@Robin-lf3je
@Robin-lf3je Жыл бұрын
@@ibrews @ibrews vor 7 Stunden kzfaq.info/get/bejne/gp6kktOAz7-6qmg.html
@Robin-lf3je
@Robin-lf3je Жыл бұрын
I did not get it to work on the main Level (ElectricDreams_Env), but on all the Levels in the PCD Folder it works (for example ElectricDreams_PCG). Thank you so much for your Help!
@mrderpvalentim1683
@mrderpvalentim1683 11 ай бұрын
I got a couple of question i did everything just like the tutorial, i was able to enter the world just fine, but the problem lies on the FPS, i lowered the graphics, but its unusable, i turned down the pixel density and still nothing, i have a powerful computer, I'm using oculus quest 2 via link, I'm i doing something wrong? Did anyone tried this?
@ibrews
@ibrews 11 ай бұрын
Try 5.3 with instanced stereo and foveated rendering enabled. If still bad, try the smaller map What card do you have ?
@mrderpvalentim1683
@mrderpvalentim1683 11 ай бұрын
Question when you say 5.3 you mean the version of Unreal Correct?@@ibrews
@ibrews
@ibrews 11 ай бұрын
yes@@mrderpvalentim1683
@mrderpvalentim1683
@mrderpvalentim1683 11 ай бұрын
when i enable instanced stereo, it always crashes due to failed: CurrentGPUVirtualAddress @@ibrews
@decadent.
@decadent. Жыл бұрын
Very nice !! You could also make a video on adding DLSS3 frame generation. Do you know if there any plans to get frame generation working with VR ? That would really be a big deal.
@ibrews
@ibrews Жыл бұрын
I don’t think so. Meta already does frame generation and it would probably conflict
@redlinejoes
@redlinejoes Жыл бұрын
DLSS3 boo! 🤣
@josemelendez5998
@josemelendez5998 8 ай бұрын
Hi there, with that You've explained, is it possible to move around the vr world?
@ibrews
@ibrews 8 ай бұрын
Yes in project settings change default collision to use complex as simple
@josemelendez5998
@josemelendez5998 8 ай бұрын
@@ibrews thanks im gonna test it in a While 👍
@otsoya
@otsoya 9 ай бұрын
Hi ! Thanks for the straight-to-the-point tutorial !! But when i'm starting the VR Preview, the preview looks fine in my PC but there's nothing but black screen in my headset (sound is ok). What could it be ? I have a HP Reverb G2
@picklerick6036
@picklerick6036 5 ай бұрын
even after doing all this the vr preview icon is gray any reason why?
@ibrews
@ibrews 5 ай бұрын
Do you see white grid space (in Oculus) or SteamVR grid space in your headset? You might also need to set the appropriate OpenXR runtime
@ibrews
@ibrews 5 ай бұрын
Or if you’re in an earlier version of Unreal than 5.2 you need to restart
@_alexaakingg_
@_alexaakingg_ 6 ай бұрын
If i add vr to mt game can i play my game in vr mode only? Or in non vr and vr mode
@ibrews
@ibrews 6 ай бұрын
CollabViewer is a good template if you want to easily switch between the two at runtime. Otherwise you can use launch parameters -vr or -novr
@clebo99
@clebo99 29 күн бұрын
Hi.....I can see my game in my Quest 3 but when I move it doesn't do the smooth move or the transportation movement. It just moves a little bit each time I push the right thumb button forward. But I will say it does show my game in VR and if I can get the movement working it will be very cool.
@ibrews
@ibrews 29 күн бұрын
Teleport is the default
@clebo99
@clebo99 29 күн бұрын
@@ibrews ahhh…how can I change that?
@ibrews
@ibrews 29 күн бұрын
@@clebo99 edit the VR Pawn
@clebo99
@clebo99 29 күн бұрын
@@ibrews ooohh…..thanks. I’ll try.
@mr.honkers7986
@mr.honkers7986 2 ай бұрын
what graphics card do you have? i tried it on the 3060 ti and unsuprisingly it ran at like 5 fps, 300 resolution at medium
@elias_0524
@elias_0524 6 ай бұрын
Imgaine in 5 years form now... games that look like that with stable fps
@JahitJanberk
@JahitJanberk 3 ай бұрын
Do you need to have a VR headset to preview or can you use your mouse?
@ibrews
@ibrews 3 ай бұрын
If you open the debug camera with semicolon in play mode you can fly around like you’re regular editor mode
@WillisAurelius
@WillisAurelius 4 күн бұрын
Can you move around? Also, did you add audio in post?
@HannesZietsman
@HannesZietsman 2 ай бұрын
nice and short by my hands don't show up. any idea why? it works in the vr template
@ibrews
@ibrews 2 ай бұрын
You need to change the Game Mode to VR Game Mode
@HannesZietsman
@HannesZietsman 2 ай бұрын
@@ibrews I did that. Im on 5.4 and there is new plugins for openxr and my Viva Pro. The hands work in the vr demo template so must just be something simple
@ibrews
@ibrews 2 ай бұрын
@@HannesZietsman is SteamVR set to be your OpenXR runtime ?
@nickglonti7195
@nickglonti7195 2 ай бұрын
I have a quick question, is the rendering of the game done natively on the PC and then streamed to the headset or is it done on a VR headset. Just bought a quest two and would like to know if I can reach this quality with it, thanks!
@ibrews
@ibrews 2 ай бұрын
Desktop streaming to VR
@toastandtech2883
@toastandtech2883 2 ай бұрын
will this work for UE4 quest 2 development? and I noticed there is no Mesh Nav Bounds AND are you using real time lighting?!?!
@ibrews
@ibrews 2 ай бұрын
For building to Quest 2 standalone you’ll want to start with the VR Template to get all the project settings correct. This method is for desktop VR.
@toastandtech2883
@toastandtech2883 2 ай бұрын
@ibrews thanks is it possible to run real time lighting on standalone quest 2. Reason I ask I've been experiencing lighting issues when baking light maps.. I increase the size of the light mass importance volume but my meshes after baking still appear black...
@ibrews
@ibrews 2 ай бұрын
@@toastandtech2883 yes real-time lighting can work on Quest but not Lumen
@daryladhityahenry
@daryladhityahenry 4 ай бұрын
Hi hi!! Question... Is this also the same if we want to make an apk for it? I mean for quest 2 etc? Thankss!!
@ibrews
@ibrews 4 ай бұрын
Yes, though a scene like this is far too heavy to run on Quest 2
@daryladhityahenry
@daryladhityahenry 4 ай бұрын
@@ibrews I see.. Okay okay, just want to know if it's really that easy to port for quest 2 :D:D:D. Thank youu :)
@ibrews
@ibrews 4 ай бұрын
@@daryladhityahenry you also need to set up your Android SDKs and all that too, same as if you were building to an Android tablet or phone
@daryladhityahenry
@daryladhityahenry 4 ай бұрын
@@ibrews Ah I seee. Thanks!!!
@guocity
@guocity 7 ай бұрын
I can't use the oculus controller, do i need to add anything?
@ibrews
@ibrews 7 ай бұрын
As long as it works when you open up a normal VR template from scratch, it should work here too. Make sure Oculus is set to your OpenXR runtime !
@guocity
@guocity 7 ай бұрын
@@ibrews controller is working in PCG level, but not working in ENV level
@guocity
@guocity 7 ай бұрын
@@ibrews and also, how do i map VR controller to drone control?
@buscargaming6384
@buscargaming6384 4 ай бұрын
thanks, Dude! So, this means the game is cross-platform on VR and Non-VR, right?
@ibrews
@ibrews 4 ай бұрын
Easiest way to do that is start with the CollabViewer template. Second easiest is have different maps you can launch with tied to different game modes.
@buscargaming6384
@buscargaming6384 4 ай бұрын
@@ibrews Thanks, Man! Really helps out! But, does it mean that The game is playable on VR and also Not On VR?
@ChakriChanduMediaWorks
@ChakriChanduMediaWorks Жыл бұрын
Any idea on what's the FPS looks like for this project in VR Mode?
@ibrews
@ibrews Жыл бұрын
I cranked down the Lumen settings and VR pixel density and hit 72
@ChakriChanduMediaWorks
@ChakriChanduMediaWorks Жыл бұрын
@@ibrews That's cool
@chumcool
@chumcool 5 ай бұрын
Oh cool, so there is absolutely NOTHING what so ever that I have to do in the Oculus before this... I just follow the steps in this video, and then I assume plug in the quest, put it on and go right? Well, here I go... Wow, now how did I know that wasn't going to work, Hmmm...
@hobyvh
@hobyvh 4 ай бұрын
If that’s all it takes, then couldn’t a single “Add VR” button could be made for everyone?
@Maximus1ize
@Maximus1ize 10 ай бұрын
Did you build this natural world yourself?
@ibrews
@ibrews 10 ай бұрын
No it’s the electric dreams sample
@user-wg9ik7be7d
@user-wg9ik7be7d 4 ай бұрын
Is this an apk file or does it use a video card? If yes, which one?
@ibrews
@ibrews 4 ай бұрын
I’m on an RTX 4090 here
@user-wg9ik7be7d
@user-wg9ik7be7d 4 ай бұрын
@@ibrews thanks
@chuck_norris
@chuck_norris 7 ай бұрын
still greyed out
@ibrews
@ibrews 7 ай бұрын
Is the headset you have active the same as your OpenXR runtime ?
@amaddinthenow
@amaddinthenow 8 ай бұрын
Is the experience with googles so shaky too?
@ibrews
@ibrews 8 ай бұрын
No it feels much better in headset
@foxyz8503
@foxyz8503 2 ай бұрын
Bruh speedruned VR on Unreal no Glitches ANY% 50 secs WR
@nicolasrichard7199
@nicolasrichard7199 4 ай бұрын
Why its a short tutorial🤔? **1 hour later** His GPU and PC took fire and melt.
@FPChris
@FPChris 8 ай бұрын
What headset? Q2 linked to pc?
@Andy-yr1qn
@Andy-yr1qn 6 ай бұрын
What’s the fps?
@disobeysector4880
@disobeysector4880 4 ай бұрын
It would be very helpful if you slow down the damn video and but some damn explanation in the thing, a 49 sec it vid that we have to pause and play over and over is time consuming for us.
@geroldwaefler9485
@geroldwaefler9485 7 ай бұрын
Where is the Audio ?????????????? Can you comment what you are doing ????????????????? Very annoying this nervous way to fast mouspointer... i HATE VIDEOS WITH NO AUDIOCOMMENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@samgebhardt5135
@samgebhardt5135 7 ай бұрын
you can slow them down with the settings, gear icon
TouchDesigner Audio to OSC to Unreal Engine Lights
0:21
My next Unreal project
0:43
MatVFX
Рет қаралды 36
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 14 МЛН
ПРОВЕРИЛ АРБУЗЫ #shorts
00:34
Паша Осадчий
Рет қаралды 7 МЛН
UE5.4 - 2D Skeletal System (Custom Creature Skeleton) Tutorial
15:10
UE5   Prototype Walk/Run sim
1:16
Tien Tam
Рет қаралды 31
How to package your unreal engine 5.4 projects - ANDROID/VR project
10:42
Unreal Engine VR
Рет қаралды 3,5 М.
Temple Run™ But in Unreal Engine 5
1:26
TeaserPlay
Рет қаралды 4,8 МЛН
Why Is He Unhappy…?
0:26
Alan Chikin Chow
Рет қаралды 40 МЛН
Difference of girls and boys when eating sweets 😂😬
0:35
VovaLika Family
Рет қаралды 13 МЛН
БАБУШКИН КОМПОТ В СОЛО
0:19
PAVLOV
Рет қаралды 19 МЛН