#virtual-reality

1 messages Β· Page 218 of 1

brisk spade
#

ok i have no idea what to do. tbh. never touched cpp. So i have no idea where to start

tired tree
#

running the double eye mirror or the direct compositor output between two projections should be "ok", little curious why you are trying to project eyes like that though

#

without the distortion and things and the ipd settings its not going to be perfect

#

the nvidia display thing would be a far better option if you are trying for a CAVE like setup

brisk spade
#

ok then i will invest some research into how nDisplay works

#

yeah its more like a cave

#

but without any interaction at all, only viewing people who wanna see it in stereo 3d

#

but it needs more pc, thats a problem

void raptor
#

does anyone here have any issue with "visibilitycommands" in stat gpu, its really high for me (3ms) and kills my performance, but only on oculus, my team with index and vive has no issue with it (they have 0.02)
however if we play in nonvr its at like 2ms for all of us

sturdy coral
#

if you tweak things enough to get it to stop showing on visibility, it will likely just bubble over to something else

quaint orchid
#

Hey guys, apologies is this is asked a thousand times a day. I'm relatively new to developing in general so I'm noticing a lot of core game dev concepts are wholly skipped over in VR tutorials on the assumption that this is an addition to a previously built aspect of a game.

I have no problem understanding and utilizing these tutorials, and I'm pretty happy with some of the neat stuff I've built for my game following tutorials that taught me stuff outside of the core mechanics, but I am fundamentally failing at core aspects, like getting a gun to shoot after picking it up, or how to make it so I don't constantly move in a single direction with smooth locomotion active.

That being said, is there a tutorial out there on how to make a basic VR shooter kinda deal?

I've found a couple that use guns that are in place of the motion controller, but implementing their code and adapting it to an external gun never seems to work and I feel very dumb and bad at this.

Any help would be awesome

void raptor
#

@sturdy coral ty for the response, maybe it is yeah, will look into it thanks πŸ˜„

rose totem
#

I've been working on a VR project in 4.23 and have some wierd behaviour with the default spectator view in both build and in editor play. main issue is that the windowed view seems to magically decide it's own res and the top coordinate is off screen AND when I start the packaged game the game window doesnt automatically take focus so no audio can be heard until/unless I click on the window. You can put on the HMD and intereact with the whole build without having the window focussed and therfore no sound. Any ideas how to fix either of these problems?

tired tree
#

its a bug with 4.23

#

that got fixed in 4.24

#

since they never did a 4.23.2

rose totem
#

@tired tree cheers, though for clarrification the window bit, or the audio bit, or both?

tired tree
#

likely both since its not launching correctly

past tiger
#

For me, the framerate lock was happening when the game was running in fullscreen mode (I think technically it may have been "windowed fullscreen").

#

I got around that by forcing the game to run in windowed mode.

rose totem
#

I cant even seem to force fullscreen at all for the spectator view, none of the console commands seem to enforce it for me

#

though maybe I was using it wrong

past tiger
#

I may have also had trouble getting the actual fullscreen mode to work too. I don't remember now. πŸ˜•

rose totem
#

so in 4.23 I can cause a crash a few ways trying to force fullscreen. 1 - turn stereo off and then either setres or setfullscreenmode to force fullscreen and going back to stereo mode.... or 2 use r.setfullscreenmode on AND then hit F11. If I hit F11 while in stereo mode it looks like it tries to flash to fullscreen for the briefest of moments.

#

I'll try forking to a 4.24 project and see how I go

#

As a seperate topic.... Most of our VR projects (industrial stuff or sometime film previz stuff) definitely need to have dynamic lights. This is obviously a performance hit... its basically seems to be that as soon as we have a few dynamic lights we can say goodbye to 90fps. anyone have any tricky ideas / experience in faking dynamic lights for VR with any success.

sturdy coral
#

@rose totem the fix is just one line if you need to stay on 4.23

#

You should be able to get by with many dynamic lights, just not shadows

rose totem
#

@sturdy coral C++ line change? I've never recompiled any of the engine content but willing to give it a go. Just installing 4.24 if there's any issues with that i might need to stay in 4.23

sturdy coral
#

Yeah c++, probably worth just going to 4.24

rose totem
#

I'm using some experimental features of 4.23 which may be a bit broken in 4.24, hopefully not. Mostly its using actor sequences. Which are cool, but it tells me "here be dragons"

sturdy coral
#

Main thing is 4.24 changes vr input a good bit

#

But may as well transition to it now

rose totem
#

Hmmmm... project is likely needed next week for a tradeshow so....eek

#

dont suppose you can send me somewhere with that one line fix listed anywhere?

sturdy coral
#

@rose totem ```diff

--- a/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp
+++ b/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp
@@ -1334,7 +1334,7 @@ void FSceneViewport::ResizeFrame(uint32 NewWindowSizeX, uint32 NewWindowSizeY, E
IHeadMountedDisplay::MonitorInfo MonitorInfo;
if (GEngine->XRSystem.IsValid() && GEngine->XRSystem->GetHMDDevice() && GEngine->XRSystem->GetHMDDevice()->GetHMDMonitorInfo(MonitorInfo))
{

  •                                   if (MonitorInfo.DesktopX > 0 || MonitorInfo.DesktopY > 0)
    
  •                                   if (MonitorInfo.DesktopX > 0 || MonitorInfo.DesktopY > 0 || MonitorInfo.ResolutionX > 0 || MonitorInfo.ResolutionY > 0)
                                      {
                                              NewWindowSize.X = MonitorInfo.ResolutionX;
                                              NewWindowSize.Y = MonitorInfo.ResolutionY;```
    
#

that's the diff that broke it

#

you can just revert that line, or on 4.24 they fixed with:


#if PLATFORM_PS4
                    // Only do the resolution check on PS4/Morpheus. On desktop, this breaks the mirror window logic.
                    if (MonitorInfo.DesktopX > 0 || MonitorInfo.DesktopY > 0 || MonitorInfo.ResolutionX > 0 || MonitorInfo.ResolutionY > 0)
#else
                    if (MonitorInfo.DesktopX > 0 || MonitorInfo.DesktopY > 0)
#endif

rose totem
#

Awesome. Much appreciated

signal pike
#

Hi there! I know you can VR-preview a non-VR project in the editor, and it works perfectly. Can you also Package that same project, to be used in VR or through a regular monitor?

real needle
#

hi guys, i have a weird issue.. i get these mini glitches in my game, like a twitching in the graphics ..no matter if its packaged or i play the vr preview in the editor.. i dont think it any material or anything like that im using, even in a lvl with almost nothing in it it happens. My graphics card (gtx 1080) is compatible w the headset (vive pro) but the gpu occupancy hits 100% almost all the time, i have two processors (Intel(R) Xeon(R), cpu e5-2650 v4@2.20ghz) any idea what might be causing this issue?

void raptor
#

@real needle did you at some point turn interleaved / asynchronous reprojection off?

tired tree
#

@void raptor actually that sounds like it is turned on and not hitting perf

real needle
#

@void raptor i did not.. where can i turn it off?

#

@tired tree thats what i was thinking too! how could i fix it?

tired tree
#

fix your performance generally?

#

do some profiling

#

right now if it is reprojecting that hard, turning off reprojection will just make it untestable

real needle
#

oh ok i see..so you do u think its something in the engine like some project settings or a problem related to my pc?

tired tree
#

its likely a problem with your project itself, an actual performance issue

#

you need to profile and see if you are having issues somewhere

#

though launching into vr preview from a blueprint graph can screw up perf royally as well sometimes

real needle
#

makes sense..thank u πŸ™‚ how do i profiling? ive never done it before

void raptor
real needle
#

cool thank u!! hmm i might try to turn in on then..where do i find it?

void raptor
#

its on by default, not sure where the settings are for vive, but mordental is probably right

limpid widget
#

hey, I just started VR Development for Unreal with C++. I'm following the VR tutorial here but I'm having some problems: https://docs.unrealengine.com/en-US/Platforms/VR/DevelopVR/MotionController/index.html

I set up my Controllers within my Pawn. They are displayed with the Display Device Model Flag by the MotionControllerComponent, so I can see them ingame.
I set one as "Left" the other as "right". They are childs of the RootScene of my Pawn.

Now when I start the VR Preview, they are both on the ground. If i move my controllers, nothing happens.

I'm using Unreal Engine 4.24. Any idea?

Information on how to setup Motion Controllers for VR interaction.

#

I'm using Vive Controllers, tested them in VRTemplate and there they work fine.

iron zodiac
#

Add an input to your game, i had this issue aswell the other day

#

just any input, that uses the motion controller (might not even need that)
i also rebuilt the steam vr input bindings just incase

#

@limpid widget

limpid widget
#

omg, it works! Thank you so much!

#

I'll also report that so it can be fixed (or added somewhere)

idle osprey
#

That page you posted has a green Feedback button.

limpid widget
#

Did you also have the issue that the motion controllers are not in the same position as when you enter the steamvr menu through the system button?

#

there is a small position and rotation offset between both views, but I've set the transform of everything to 0,0,0

iron zodiac
#

no, but i had a custom setup

sturdy coral
#

@signal pike you can try launching with -vr, but people often remove the plugin entirely

rigid bear
#

is the gameplay tag "denyfreegripping" inside the base gun in the vrexpansionplugin doing anything?

quiet swan
#

I have a vibe and I would like to know which binding is for when you press the entire thumbpad DOWN

quiet swan
#

I dont see the push down on the key

rigid bear
#

button 9 on the chart?

quiet swan
#

hmm let me see

rigid bear
#

inside the input settings of the project

mild moon
#

For anyone else having framerate issue with Oculus in 4.23 (capped at 70 instead of 90).. the fix is Alt+Enter to toggle fullscreen πŸ’©

quiet swan
#

I did but its not printing a string when I press

sturdy coral
#

@quiet swan you have to generate steamvr bindings through toolbar now

#

After you set things up

rigid bear
#

toolbar?

#

@sturdy coral

#

what toolbar?

sturdy coral
#

Main editor toolbar

#

I think it’s only there if the steamvr input plugin is loaded

rigid bear
#

oohhh and i was wondering why my menu button wasnt working. it just magically fixed itself after a couple of days

quiet swan
#

yeah I thought I was going crazy

#

with the menu button

#

now how do I make the pushing down on the controller to sprint?

#

I see sprint there

rigid bear
quiet swan
#

yes it works thanks

#

weird stuff this new steamplugin but I think in the long run its good

rigid bear
#

at least there is easy custom bindings now

signal pike
#

@sturdy coral Alright!

rose totem
#

So I got my 4.23 VR project reworking in 4.24. Many headaches getting the steamvr inputs working in editor and then in a package but it seems to go looks like you need to add a line to the defaultengine.ini and then for packaging manually copy all the config files over at least that's what I had to do.

#

Next question though. Im now attempting to load a non VR landing level with basically just a UI and a load level button. How do I test this in editor and get the standalone game mode to do VR. I already have stereo on commands loading amd have even tried pushing custom game modes in etc but so far no dice.

quiet swan
#

@rose totem yeah the 4.24 update as been brutal for me to I almost got it working but I found some weirdness

flint flume
#

Hey all,

I'm seeing a crash on game launch when -vr launch parameter is used with the vive cosmos. The crash appears to be within SteamVRRender.cpp and on the line:

 // Increment swap chain index post-swap.
 SwapChain->IncrementSwapChainIndex_RHIThread();

Within the function:

 bool FSteamVRHMD::BridgeBaseImpl::Present(int& SyncInterval)

That said, it could easily of course be due to something else as it appears to be an invalid shared pointer, but I'm not positive.

Also I must note that I do not have this issue when I've opened the same game with the Oculus Rift S. Only the Vive Cosmos so far has demonstrated this behavior.

I should also note that I'm not doing anything custom or crazy with the rendering.

I'm linking the crash dump here as well as the requisite pdb file for opening it.

Crash dump: https://drive.google.com/file/d/1uMQx1qcNeU7zsnzGD08tnKzKb0DdZsns/view?usp=sharing

pdb file: https://drive.google.com/file/d/1gCOnMm3d_BaiF6HylpoxzEfhRTuuKzY4/view?usp=sharing

Any advice or assistance would be most appreciated in getting to the bottom of this issue!

flint flume
#

Another update on this, this only occurs when your connecting to a server via a launch parameter through a shortcut with the -vr parameter also present

remote oxide
#

hey all! I am looking for some help. When i move my vive tracker in the forward direction in real world space, it is moving the opposite direction in virtual space. Any thoughts on how to get the reverse this?

night linden
#

is anyone experiecing any issues with latest oculus version and latest ue4 engine with loading levels? one minute it could load the short level in a second, next minute takes 15ish seconds when called

#

seems very random! its just my menu level which is tiny

real needle
#

sry for the rly stupid question.. but how do i open console commands?

timid sinew
#

It maybe a stupid answer because I'm not sure I understood your question but pressing " ` " does it.

#

@real needle

real needle
#

hmm it doest work `.. how eg would i open the gpu visualizer?

real needle
#

is there a way to see the stats in the vr preview?

night linden
#

yes

#

bind to keyboard key, or event begin play

#

not that if to event begin play, will turn on first time you run, off the second time etc.

#

^note

#

@real needle

real needle
#

thank u so much !

quiet swan
#

is there anyway to make a widget interaction register left mouse clicks on something other then a widget?

hazy walrus
#

VR IS THE FUTURE !!

mighty carbon
#

word

real needle
#

Hi :) has anyone noticed that going from 4.23 to 4.24 that the light looks very different in a scene like for me its a lot brighter than the original scene..I found some ppl online who had a similar issue ( material looks way brighter ) but nobody had a solution for it..any ideas ?

real needle
mellow flint
#

Hello everyone, did anyone have experience creating applications using sony motion controller?

#

I need to make an application in which I will use hand controllers, but I do not need a helmet, I don’t know, I can build a computer application in which sony motion controller will be used

wraith saffron
#

I have a vr game from unreal engine and want to make it into a project file to see how it works

iron zodiac
#

@wraith saffron you cannot decompile a compiled project into its editor form
also i doubt the developers would be too happy with you doing that

severe blade
#

Hello, I want to make a REALLY simple image tracking app. simply as training.
But I really don't know where to start looking.
can you point me to the right direction?

night linden
#

@real needle I’ve noticed that I’m getting issues with load/save games with 4,24

#

Taking 30 seconds even to delete a save

dry python
#

Hi guys, Been seriously interesting in VR the past couple weeks. I understand that the question Im about to ask is quite general and perhaps too broad. But I'd appreciate any advice . At the moment, i'd like to make VR games and VR experiences for ArchViz .

In regards to VR equipment for a beginning VR dev which would you suggest?

Any great resources to learn more about VR? I've seen a couple Unreal Engine training vids but I've never really enjoyed them as they seem to be 'winged' a lot of the time...

rose totem
#

Is anyone able to check and confirm for me if it's possible to force the VR spectator view to fullscreen in 4.24? I've tried everything and it seems impossible....and once I've enable the HMD even when I go back to a first person view, disable all the HMD etc I can't get it back to fullscreen either

rose totem
#

.... kind of got a solution myself, seems that if you're doing anything with the HMD you really need to use Set Fullscreen mode AND Apply fullscreen mode. even though non vr projects let you use r.sutfullscreenmode once the HMD takes over that doesnt seem to do anything

simple gust
#

Why does the Scene Component attached to the Motion Controller follow one tempo late if Render Capture is enabled in VR?
This phenomenon has been discovered since 4.22.

#

is it unreal bug?

mellow flint
#

@iron zodiac thanks

iron zodiac
elfin edge
iron zodiac
#

that issue seems to be with oculus, you're fixes for now seem to be to wait for ue4 4.25, get a vive or index, or go back to 4.23

digital musk
#

@tired tree I'm using VRExpansion plugin for my VRCharacter but trying to look at an object on a table - when I lean my head(HMD) over the table to get a closer look, the collision capsule follows and I get pushed back from the table. Is there a simple fix for this?

iron zodiac
#

no, the capsule will always be directly below the HMD

tired tree
#

@digital musk don't collide with the table? Or inset the collision, or use the WalkingModeOverride so that collision only happens when in locomotion.

#

there is also some lean detection in the arm IK stuff in the beta branch but its not incorporated yet.

digital musk
#

@tired tree Thank you very very much - I didn't think of using the walking override this way. I'm gonna try that

tired tree
#

@iron zodiac the capsule is never "directly" below the HMD, there is a neck offset by default that is changable

#

but yeah there isn't any movement radius that it lets walking out of a bit

iron zodiac
#

fair enough

formal ether
#

Hey,guys.

#

is there any way to make desktop front-end for vr app where i can tweak some parameters, maybe switch current vr level, send some events to vr instance? Is it doable only client-server like? or theres some solutions exist?

tired tree
#

someone already pretty much made that for you

formal ether
#

thats interesting. But what about something more complicated, not umg widget? For example, cute 3d desktop app, where you can turn around building, then choose desired room, and then load vr level

carmine yoke
#

Has anyone been using the Official Oculus link cable? Previously I was using a third party 3m and it worked great, using the official 5m one is crazy slow, like 10fps. Not even in Unreal, just the oculus home.

tired tree
#

@formal ether would take some more work, likely you would want to do that on a seperate instance and use a message bus

formal ether
#

@tired tree Hey, thanks a lot, i'll dig it

dusky moon
#

Hey guys! I just migrated from 4.23 to 4.24 and seems like a nightmare! Does any1 have this issue of getting insane hiccups every few seconds with Oculus ?!

#

Also, turns out that with level streaming it doesnt unload stream levels

carmine yoke
#

Lol, I've been avoiding 4.24 for just these reasons

brisk spade
#

i have the problem, that my built unreal projects doesnt work anymore it opens but my camera is completley offset. i can teleport , but my view doesnt change

#

i can see my teleport view

#

fresh unreal 4.23 project

dusky moon
#

@carmine yoke I;m not sure if the hiccups are cuz of the new Nvidia driver or 4.24 actually

brisk spade
#

SteamVr doesnt seem to start rendering the application

#

there is only this view

brisk spade
#

ok reinstalling unreal doesnt work :/

#

ok VR mode is off in a fresh installation

#

to bad -emulatestereo doesnt work for VR

carmine yoke
#

Anyone with my Official Quest link cable problem : Turns out one of my usb ports isn't 3.0 πŸ˜’

idle osprey
#

What's your problem? I have a Quest and the official cable.

carmine yoke
#

No problem anymore but it was basically just being really slow , like 10 fps

idle osprey
#

ah. Were you doing usb-c to usb-c?

carmine yoke
#

Because I plugged it into a port which wasn't usb 3.0 I assume

#

yea husb c

#

usb c

#

its fine now I plugged it into the back of my laptop and it works great

idle osprey
#

ok, another thing I've heard is that a lot of adaptors are not 3.1

#

I still have trouble with it freezing now and then...really annoying.

carmine yoke
#

Its not perfect, but i'll take the odd freeze over having to setup my vive with the sensors and stuff

#

Mad useful for quick iteration on ue4 too

idle osprey
#

I am so sick of my Oculus Rift cameras.

#

I have to put them up all the time 'cause my cat chews stuff when I'm not there.

carmine yoke
#

Its wildly frustrating, even at work we end up having to reset them all the time and we have a permanent space. Can't wait to be on the quest completely

limpid widget
#

Hey,
Is it possible to disable mouse control in vr preview viewport? It's changing the position of the camera and therefore it creates an offset to the controllers

#

or how do you keep the position and orientation of the camera in sync with the hmd?

tired tree
#

@limpid widget turn off UseControlRotation on your pawn

limpid widget
#

it's turned off

tired tree
#

then turn it off on your camera

#

and unbind your events that are changing the control rotation

#

@limpid widget

limpid widget
#

it's off on my pawn and camera. I also only use C++, so no blueprints that change any rotation or position, also I'm not doing anything in c++ to change it

tired tree
#

then it shouldn't be turning

#

you have to have something mapped to the up/right/left axis's

limpid widget
#

hmm, if I add input binding to those axis, it's still possible to control the camera with wasd

#

Figured it

In the Pawn, I had to set "Auto Possess Player" to Player 0

little scaffold
#

anyone know why the new touch controller mesh is not in the samples of Oculus? It is still the old controllers.... Maybe someone know where Oculus is hidding them?

sonic lake
#

@little scaffold Show engine content + show plugin content

#

Then search for Oculus

little scaffold
#

thanks @sonic lake could it be rigged and has animations like in the HandSample project from the Oculus unreal github?

sonic lake
#

No, these are just static meshes

#

You can export them, import into Blender/Maya/something else and rig them if needed

little scaffold
#

ok thanks

sonic lake
#

4.23.1

simple gust
#

@iron zodiac thx for your reply, but I can see this issue only htc vive. I can'f find this issue In oculus. only it happens vive. then if I turn off the low latency like option, I can fix it?

bitter perch
#

Hi here! Is that me or the Axis Inputs of the Vive Trackpads in 4.24 are dead? Value returns 0 when touching them. Here's my setup:

simple gust
#

@iron zodiac oh sorry i already find it the option! thx!!

ebon scaffold
#

Has anyone had issues with having two different projects open and both use SteamVR, that the second instance of UE4 to open locks up? Only started seeing it with 4.24

sturdy coral
#

@bitter perch I think your binding name has to end in _X and _Y or it won’t generate the axis binding in steamvr for you

bitter perch
#

@sturdy coral You saved the day!

rose totem
#

@ebon scaffold I typically dont have 2 Ue4 projects open when doing VR as it always seemed to break the steamVR side of things, but if you're opening a project to check how you did something in another project I'd expect it to not lock up 😦

#

I'm currently experiencing a bug in 4.24 VR projects where if I launch into a VR mode and the motion controllers are off the scene will crash as soon as I turn them on. Might be realted to me getting full screen working but not sure 😦

sturdy coral
#

@ebon scaffold you can make a shortcut to launch second instance with -nohmd as a workaround

soft beacon
#

Anyone having issues on Quest where there is no input at all? 4.23, tracking works but I cant do anything? Printing Any Key returns nothing when pressing anything on Touch controllers. On PC everything works fine. Any ideas?! Thank you! πŸ™

simple gust
#

@soft beacon Did you set the vr safe zone in oculus?

soft beacon
#

@simple gust I have

#

I know there was a big input error on 4.22, only one controller working, but this is NOT that. Both controllers track, but its as if the input file is being excluded. Zero action on any axis or button. I even did print the key name on any key press and zero reaction

soft beacon
#

Oh crap!

#

If I mash buttons on start I see print strings, so it must disable almost instantlky

soft beacon
#

Got It! It was the Set Input Mode to Game and UI Node

digital musk
#

@tired tree Thanks for the advice yesterday on using walking override to be able to lean my head over a table to inspect it - the problem I'm having in testing now is the VR Character seems to always be walking

#

This always prints true

night linden
#

Hi, on 4.24.1 when I try and delete a or create a game save it will freeze for 30seconds, the save game is 2kb holding one variable in it.
Is anyone else experiencing this?
​​​​​​​Thanks

brisk spade
#

What is a good wy to handle subtitles in VR?

#

i have a 3d widget in front of my camera, that is overlapping. When a person is saying sth i will overwrite this string

#

but how do i update my text in relation to the given voice? last time i used keyframes and sth else

real needle
#

hii, i have an issue with the light in one of my lvls..its pretty dark almost too dark but if u look at a spot for long enough the light adjusts and it gets brighter .. how can i get rid of this? i have forward shading on, but turning it off doent make a difference 😦

blissful bear
#

@real needle Try turning off auto exposure in the post processing.

real needle
#

ah thanks:).. do u know if its possible to turn it off for only one lvl

blissful bear
#

Yes. Setup an unbound post process volume in each level and you can have any unique settings you like.

mighty carbon
#

@night linden report the bug with repro case to Epic

#

You shouldn't use post process in VR @blissful bear

blissful bear
#

Apart from performance and bugs there is no reason not to use some pp if required.

#

Stuff like dof and lens flare don't make sense in vr of course

brisk spade
#

can someone help me with updatting subtitles?

heavy pine
#

Does anyone know if there is a way to start the screenshot process on Oculus Quest from a blueprint? Cheers

mighty carbon
#

@blissful bear the question is about disabling PP. You don't need PP volume. You can just disable it on the camera and in the project settings.

#

@heavy pine what are you trying to accomplish?

blissful bear
#

@mighty carbon He only wants it disabled for one level. My advice stands.

heavy pine
#

@mighty carbon Instead of having to exit out of the app and go to the oculus menu to start the screen shot process I want to start that by pressing a button on the motion controller instead. I've had a look through the available Oculus blueprint nodes and haven't found anything.

mighty carbon
#

Probably just execute console cmd

#

With screenshot cmd in it

real needle
#

@blissful bear thank u for ur help!

blissful bear
#

πŸ‘Œ

tired tree
#

@digital musk well yeah? You should always be walking unless you are in falling movement mode generally.

#

that boolean doesn't mean "currently moving"

#

it means the movement mode is walking

mighty carbon
#

I wonder how many out of those folks use VR

forest plover
#

That would be nice if they dedicated some of that exclusive money towards VR exclusives... But then again...

#

Fortnite VR when? kappa

sharp shell
#

Has anyone had a Vive Tracker showing as a tracker in SteamVR, but showing as a controller in UE4?

mighty carbon
#

Doom Eternal official trailer is out now!

slender fjord
honest imp
#

Does anyone know how to identify a motion controller type specifically? (Like, Vive wands versus Valve Knuckles vs Occulus Touch)

simple gust
#

I want to implement Foot IK like vr chat. Anyone know any video or information for reference? Or how?

rich canopy
#

I would like to know also haha @simple gust do let me know if you find any tutorial or video. I couldn't find any for VR.

digital musk
#

@tired tree Thanks - does the "WalkingModeOverride" activate based on that "Is Walking" Boolean though? Or what determines when WalkingModeOverride is triggered?

mild trail
#

My oculus quest says this when connected to my pc. But when I do as said, there is no update. Any help?

carmine yoke
#

@mild trail I had the same thing when I was trying to connect, restart your headset and check the software again

#

There's defo an update it's just not offering it to you

void raptor
#

Or try opting into the beta branch

mild trail
#

I've restarted several times with no luck

#

I am in the beta

void raptor
#

Opt out

#

Might trigger an update for you

mild trail
#

I will try that

carmine yoke
#

Disconnect/ reconnect to internet if that doesn't work

#

Make sure your phone's app is updated too

mild trail
#

@carmine yoke Been there done that πŸ™‚

#

Really want to avoid a factory reset πŸ™‚

carmine yoke
#

Haha, im trying to remember what I did to get it to proc, I think a mixture of those, nothing fancy

#

I do remember having to do it like 2/3 times though

mild trail
#

@void raptor Tried to opt in and out of beta, it was a no go.

#

Cant even use link when I dont have this update.

carmine yoke
#

12.0.0.226.469.188362025

#

And I'm on the same software update as you @mild trail

mild trail
#

Strange it then ask me to update

carmine yoke
#

oh wait sorry the 12.00 is my runtime

#

my version is also the same

#

all the same

#

Make sure your oculus app is updated

mild trail
#

it is

carmine yoke
#

On your phone and desktop

mild trail
#

it is πŸ™‚ both places

carmine yoke
#

Super weird

mild trail
#

super

tired tree
#

@digital musk its just in general a seperate collision profile for when walking in roomscale, it is always active while UseWalkingModeOverride is true

carmine yoke
#

Go to settings > general on your desktop app, my version is Oculus app version 12.0.0.306.268 (12.0.0.306.268)

mild trail
carmine yoke
#

that'd be why then lol - seems they haven't rolled out 13.0 on quest or something then?

mild trail
#

it says specifically its for quest

#

and oculus link is only for quest

#

even when I opt out of beta it stills says this

carmine yoke
#

Yes but your app and quest versions don't match, which means you won't be able to use link. I bet there will be a roll out of quest 13.0 within a day. They must know this breaks link

digital musk
#

@tired tree should I then manually toggle it on and off during runtime based on movement inputs? Or does it switch between the normal collision profile and the WalkingModeOverride profile by itself if it detects lateral movement without getting movement inputs?

tired tree
#

@digital musk it switches automatically

#

if there is no locomotion then it uses the walking override

#

if there was some, then it switches to the normal collision profile

#

that way you can be blocked during smooth locomotion on something that you can walk into when not

real needle
#

hiii πŸ™‚ how would i implement that if the headset has not been moved/worn for a specific amount of time the game restarts(or basically anything)

sharp shell
#

Well I know the VR Expansion Plugin has functionality for IsHMDWorn, IsHMDConnected, and a ton of others

nimble edge
#

You could use "Get HMDWorn State"

real needle
#

both rly helpful thank u guys πŸ™‚

#

Im trying to teleport but the teleportationring istoo close to my hand, like its around it abd wont go anywhere further than that.. any ideas how to fix this?

nimble edge
#

Sounds like it's "detecting" the hand as the teleport location. You'll need to have the raycast(?) ignore the hand.

#

Anyone else have problems with "Reset Orientation and Position" behaving differently for Rift S and SteamVR?

real needle
#

is that a setting ?

nimble edge
#

Are you using the teleport provided by the VR Template?

real needle
#

no im using a different one.. so i found a backed up version where it still worked, imported the pawn and used the migrated pawn and asame thing

nimble edge
#

Is it looking for a Nav Mesh and can't find one?

#

Or any other method of finding a valid teleport location...

real needle
#

ahh i found it.. a huge object that had collision turned on

quiet badger
#

@sturdy coral mordentral pointed me your way, said that you know of a fix for the index making the desktop view window huge?

sturdy coral
#

@quiet badger yes, should be in chat from a week or two back, posted a diff with the fix it you are on 4.23

quiet badger
#

yep 4.23

past tiger
#

Anyone else run into a problem with WMR thumbsticks and trackpads not working in 4.24.1? In the VR Template, they are not working with my Samsung Odyssey. But it is working in the 4.23.1 VR Template.

daring pasture
#

Did you make new bindings? The old inputs no longer work in 4.24

past tiger
#

The 4.24 VR Template has new bindings

daring pasture
#

Oh duh, was assuming an upgrade

quiet badger
#

or the link to github

past tiger
#

But yeah @daring pasture I have also not been able to get them working in my own project with new bindings.

void raptor
#

try putting _X and _Y after the names for the axis bindings

#

@past tiger

past tiger
#

That's a good point BambusBo. The template does have _X and _Y for the axis mappings. I will try that for my own project.

#

I still haven't gotten the thumbsticks to work in the template, but I was able to get the trackpads to work by adding them to the inputs.

sturdy coral
#

@quiet badger yes you can just restore that removed line and it should fix

#

or you can look at how they changed it for 4.24 and bring that line over, I think it is a change to that same if statement

tired tree
#

@sturdy coral you sure it still requires X/Y now btw?

#

they have actual mappings that can be used to infer axis's

#

shouldn't require the action name to also have it

sturdy coral
tired tree
#

silly

sturdy coral
#

I guess if you had 'MoveForward' and 'MoveRight' it would have to then pick between the two to get the name of the 2d mapping, or concatenate them and then be careful that an action with the concatenated name doesn't already exist

flat shoal
#

So what do I do here? The popup knows what has been deprecated, but it seems it has already renamed it, yet it doesn't work and the warning is still there...

#

Confusing UI... do I really need to manually delete it and hook everything up again?

#

oh wait... the wording is bad... I read "deprecated for" as this is what it was deprecated with... but it's some engineering mumbo jumbo that just repeats the same thing twice... Unreal seems to have no idea what it has been replaced with

outer mountain
#

how can we get the value of the gaze location on VR where u are looking in the VR environment? foe example if i am looking at the box how do i get the value of the location of the box ?

iron zodiac
#

you could do a line trace starting from the hmd, going forwards and get the location of whatever it hits

quiet badger
#

used the 4.24 fix because probably better right?

flat shoal
#

seriously, anyone know what the WMR input events are called in 4.24?

#

or where to look for updated info regarding this (all links I've found so far are old)

tired tree
#

@flat shoal should just be all of the inputs named with Mixed Reality in the bindings

flat shoal
tired tree
#

@flat shoal meant in input bindings

#

you have to make actions to assign buttons too

#

direct button access for VR inputs is gone in 4.24

flat shoal
#

holy shit

#

that sucks, because that means I can't migrate my character controller between projects... since action mappings are a part of project settings and not an asset file...

#

or did they add action mappings as an asset?

tired tree
#

action mappings are in config

#

you can port the config changes

cold siren
#

Any recommendations on how to go about negotiating the left eye being black while applying a post process mat? I'm trying to simulate a hit by using post process material but its broken in 4.24. I'm migrating a project from 4.22

#

@flat shoal I am facing the same issues, i just migrated my game from 4.22 to 4.24 looking to take advantage of the configurations for deploying to quest only to find lots of broken stuff

flat shoal
#

@tired tree how do you "port" config changes? sounds more difficult than just right clicking an asset and selecting "migrate" from the menu...

tired tree
#

@flat shoal you can literally copy the input.ini file?

#

its not ideal no, but shouldn't really have been working with hard keys in the first place either

flat shoal
#

ok, so there's actually an Export button in the settings dialog for this, so... ok then

tired tree
#

that too

real needle
#

Hii, just switched from an htc vive to an oculus rift s ..and it weirdly messed up the navigation and the controllers, do i have to change the imput of the controller?

real needle
#

whenever i try to teleport myself it takes me outside of the nav mesh, like underground and then i cannot get to the surface of the landscape agai n

carmine yoke
#

Has anyone been messing around with Stereo Layers? I got them working great, however for some reason they render a good margin darker than they should be. Can anyone think of any reason for this?

#

To confirm, this is the case either from a umg render target or from a texture input. Renders noticably darker than its umg counterpart

tired tree
#

@carmine yoke stereo layers don't receive lighting

#

you are likely comparing to a widget component in the level?

#

those will receive lighting

carmine yoke
#

So what can I do? make the source brighter?

tired tree
#

yes?

#

it should be fairly close to what the texture actually is

#

unless you mismatched color formatting

carmine yoke
#

Let me see if I can get a screenshot, gimme a mo

#

the top floating one is the darker one (on the right) that's the stereo layer

#

all others are umg

#

The actual texture is like that

carmine yoke
#

Ok,, I changed the compression to HDR so now it basically looks right on the stereo layer

mighty carbon
#

interesting data

last knot
#

having a bit of a weird issue (using 4.24.1) with playing video. i'm playing video in my game (both on a wall and on the inside of a sphere I created in blender with inverted normals). the problem is that when played natively on the quest, it's like its bumping the resolution down. lots and lots of jaggies. same video played on the quest in Gallery has no jaggies. Same game played on the quest using oculus link has no jaggies. Any suggestions? Pretty new to this and might miss something obvious. Thanks.

quiet swan
carmine yoke
#

@last knot Can you confirm what you mean by jaggies? Take a screenshot?
Simplest thing sounds like you're video file is too large? How big is it? Gallery would be heavily optimised.

#

I play video fine in the Quest

quiet swan
sturdy coral
#

@quiet swan you have to bind it to each controller model now, and moveforward moveright won't wor, the axis name has to end in _X and _Y now for 2d bindings

last knot
#

@carmine yoke let me get a screenshot. I've had it on two different videos, one 1.5gig but the other 225meg. It copies the video over to the Content\Movies folder on the Quest when it deploys. Same file that I open in Gallery that plays fine.

quiet swan
#

Ahh ok @sturdy coral thanks!

last knot
#

if you click on the link, you get both screenshots

carmine yoke
#

Are you sending it to Rander target? How big is your render target?

#

Render*

last knot
#

i've done it a couple different ways. and played with the sizes. I've used a sphere that's 1x1x1, but I've also had it 400x400x400 with no appreciable difference (these are 360 degree videos). But I've also put it on a plane just to make sure that's not the issue, and I've had it small and giant as well with no appreciable difference

#

and just to repeat myself, it only does the jagged low res look when running natively, not over oculus link

quiet swan
#

@sturdy coral when you sau the axis name has to end in _X and _Y like in this example it should be moveforward_Y and moveright_x?

#

damn it I spend so much time reverse enginering a blue print to work in VR and of course they break something right when I need to display the game to people

sturdy coral
#

@quiet swan yes, _X and _Y, you have to regenerate bindings and manifest afterwards through the steamvr toolbar button

#

and don't bind trackpad right/left/up/down, bind trackpad X and Y

grave tundra
#

By chance has anyone come upon the issue of Oculus's ExtraneousFiles VRC check?

Asking for several reasons - one of which is the desire to be able to utilize Steamwork's master server/server browser functionality - and because I noticed it flagged OpenVR libs, and a ton of UE4 engine plugins (Such as Apex Destruction) as Extraneous via their Validation tool.

formal ether
#

is there a way to run vr app in background with full performance?

woeful crypt
#

well on htc vive with ue4.24.1 definetly bug over motion controller mapping.

#

only trigger working correctly. negative values for "axis" or "touch" not working correctly. (even regenerate action and axis manifest after editing)

#

also up down left right not working for motion controller

#

and 1 day gone for this bug. 😦

fading shore
#

Is it possible to setup cloud screenshots upload for Oculus Quest?

#

standard gallery way isn't convenient ...

steady python
#

@fading shore not that I know of... and last I checked ripping videos off it was a pain also

#

Copying them off requires using ADB commands, or the formatting gets borked, for some reason

real breach
#

hi, why it seems to me that most people are usinig Unity instead of Unreal for VR

rigid bear
#

how do you properly replicate the "drop and socket" on event overlap with two client side authoritive objects in the vrexpansion plugin? i read online that there were problems replicating the weld attach in 4.22, is that still the case? is there a proper workaround?

tired tree
#

@rigid bear drop and socket replicates for you, and in current engine plugin the weld is handled by it as well so that should work too

#

the engine by itself doesn't replicate welding for some silly reason with attachments

#

even though it would be a 1 bit cost to do so when replicating the attachment data

#

pretty sure its just an oversight

#

its not a 4.22 thing, its engine wide since...well forever afaik

#

have it in my notes to submit a pull request fixing that some day, haven't gotten around to it yet

rigid bear
#

@tired tree when i socket something to the base gun and free grip it, the object isnt in the right place anymore on the other client(that is watching). it is in the right place and welded on the server and the holding client though. and when i let the welded-on object collide with something it spazzes out on the client that didnt do the welding. on the server it worked and the collision is connected to the basegun

tired tree
#

sounds like on an older version of the plugin then

#

I reported the weld issue hoping it would get fixed

#

when it wasn't I had to work around it in the plugin and fixed it

#

granted I don't remember if I ported that fix back as far as 4.22

rigid bear
#

when did you fix it? we are using a pretty updated vrtemplate as our base

#

4.24

tired tree
#

eh?

#

should be fine in that

rigid bear
#

does it only have to be done on the server only or for everybody separately?

tired tree
#

only on server or only on gripping client

#

the events replicate

#

I can test on simulating proxy though, its possible the attachment replication ends up overriding in that case

#

i'll continue in PM with you

tawny sparrow
#

Hey guys! Anybody targeting Hololens 2 by any chance? Am having pbs with spatial occlusion for packaged apps...

real needle
#

Hey folks, I'm having difficulties getting webcam capture into UE4. I've managed to stream content from the internet, but the texture when I try to get feed from the webcam URL stays black. Any idea ?

quiet swan
#

now I am trying to edit as @sturdy coral told me to add _X and _Y to the end of move forward and move right like this

#

I can just see moveright_X and I cant see moveforward_Y

quiet swan
#

I tried restarting and restarting but still the problem is there

last knot
#

i have an app that has some movie files in it played by a Media Player. Sometimes launching on the Quest causes it to copy the source movie files over, but sometimes it doesn't. I can't figure out the logic for it. Is there anything obvious I'm missing, like a check box somewhere that says "always copy this file on deploying"?

#

4.24

sturdy coral
#

@quiet swan regenerate the manifest if you haven't

quiet swan
#

How do I do this

#

I thought a reboot would

sturdy coral
#

@quiet swan steamvr input button in the toolbar

#

@quiet swan you need it to be Move_X and Move_Y , the part before X and Y has to have the same name

past tiger
#

@sturdy coral are these instructions for the SteamVR plugin written down somewhere?

sturdy coral
#

as of 4.24 that plugin is now integrated, I'm not sure if there are any differences in what is documented in the wiki there wrt to setup

#

it does mention the _X and _Y thing though

quiet swan
quiet swan
#

where do I go from here?

quiet swan
#

Just one move shows up, I dont know how to get it to work

sturdy coral
#

@quiet swan move is a 2d axis to steamvr, so only one should show up

#

It should just work, and dispatch Move_X and Move_Y to unreal

past tiger
#

Yes, that's what I was looking for. Thanks @sturdy coral! It does briefly mention the _X, _Y thing in the notes at the bottom.

celest basin
#

Hey all, trying to use the VR Expansion plugin with windows mixed reality headset, but can't teleport (no throw widget)... any hints/tips?

quiet swan
#

@celest basin think your in the same situtation as me in some ways

celest basin
#

gah, it only go up to 4.24

#

I mean 4.22

#

Thats it

#

Switching to the Vive

celest basin
#

Ah, ok... it's just the thumbstick on the MXR that UE4 can't see

quiet swan
#

@celest basin the steamvr plugin is built in to unreal now I think

tired tree
#

@celest basin what button are you pressing to try and teleport?

#

@celest basin oh i didn't see the rest

#

yeah thumbstick on WMR wasn't supported on default engine until 4.24 with steamVR, and the wmr plugin that was added in 4.22 or so but wasn't that stable.

mighty carbon
#

UE4 + Oculus has becoming an utter disappointment

#

Oculus mobile that is

carmine yoke
#

@mighty carbon why's that? Not disputing necessarily just wondering.

mighty carbon
#

@carmine yoke Vulkan is slow af and after I switched to ES3.1 the whole level became covered with black fog (but performance was great)

#

I am gonna do A/B test on clean projects to see what's going on

carmine yoke
#

Riight, yeah I had to switch back to es3.1 because vulkan was giving me grief

mighty carbon
#

That's what I wanted to do but the switch to es31 somehow f#cked my project

#

I was also told that Oculus will no longer develop new features for es31

carmine yoke
#

Ugh really? That's annoying.

mighty carbon
#

Indeed

past tiger
#

Stupid question, but do games made with the SteamVR plugin require Steam? So, if you're making a game for the Quest, should you avoid using the SteamVR plugin?

sturdy coral
#

@past tiger if you are only making it for quest (not quest link) just disblae the plugin. If you want to ship to both most of the stuff is wrapped in #if STEAMVR_SUPPORTED_PLATFORMS which should be false for android, so should just turn into a no-op

past tiger
#

Perfect. Thanks @sturdy coral !

wraith sky
#

So, i'm getting it right, Quest will only support Vulcan in future?

mighty carbon
#

That's what it sounded like, unofficially

celest basin
#

So, I'm slowly getting used to the VR expansion plugin...

#

Currently trying to figure out how to swap the controller mesh back to hands...

celest basin
#

ah, goodo πŸ™‚

#

(how to switch hands on)

#

aight, next drama:

#

using VR expansion, made a new map, put in their VR player start...

#

Teleport fouled up somehow, feels like a noob mistake but...

#

Sweet, just needed to add a nav mesh bounds volume πŸ™‚

real needle
#

hi πŸ™‚ do you guys know how i would set the hands / controllers to invisible but only in one lvl ?

real needle
sturdy coral
#

@real needle you are getting a hand from a null pawn, casting it to a pawn, and the getting the hand from that, can’t work like that

#

You are basically trying to cast a nonexistent hand into a hand

#

Do β€˜get all actors of class Newpawn’, and use that to get the hand

#

At begin play of the level it is possible it isn’t spawned yet though too

real needle
#

oh that makes sense thank you

#

to where do i connet the target of the hand ?

wraith sky
#

Are there any good VR games in development on ue4 atm?

sturdy coral
#

@real needle for a for loop on Out Actors, or if you know there is only one, grab first index; each actor should be the target of the get hand node

analog coral
#

I own a PlayStation VR and I know you can use a software
called TrinusVR to use the PSVR on PC, but are there any steps to set up the PSVR to test VR games in the Unreal 4 Editor

quaint orchid
#

Trinus doesn't natively support motion controls, you'd also need Driver4VR running with playstation 3 eyes cameras as a tracking mechanism for them, which would cause significant roadblocks with set up and troubleshooting errors.

It's possible but easily the second least ideal setup next to mobile VR

#

Just the cost in software and hardware alone would be about as much as a secondhand windows mixed reality headset tbh

analog coral
#

Oh the games I'm focusing on is just using the VR Headset only, no motion controls in the game I develop just a stander Xbox control or Keyboard.

brisk spade
#

i have a problem with an object facing the player camera

#

when tilting my head my font flips across Z axis

#

when tilting down it flips around the X axis

carmine yoke
#

@brisk spade Why not attach it to a springarm from the HMD?

brisk spade
#

@carmine yoke i want to have it versatile. maybe it shouldnt be attached just follow the camera

#

im close to the finish line, but the thing in my picture im missing

carmine yoke
#

For this instance, I would still have a springarm on the HMD and you can attach/detach it as necessary

#

oh but if its floating you want it to face the camera too, I get you

#

It must be that your xyz of your vr sub actor isn't correct

#

like its looking down the +ve z axis or something and not the +ve x axis? or whatever find look at rotation assumes

#

@brisk spade Yeah I think it wants to be looking down the +ve x axis

brisk spade
#

@carmine yoke my sub is set to the position of a spring arm, that is attached to the camera

#

I thi k it has to do with the position of my hmd

real needle
#

I'm thinking of buying an HTC Vive Pro, any gotchas I should be aware of, I'm currently using 4.24.1 which may not be the most stable for VR, So I've heard.

carmine yoke
#

@brisk spade What I mean is the actor has a set orientation when you make the actor. For example, this text render's origin is at the bottom left edge and the orientation looks down the positive x axis

brisk spade
#

thats basically my ingame view axis vise

carmine yoke
#

That's the root component right?

brisk spade
#

nope frome the white cube

#

and my widget

#

same as root

carmine yoke
#

Hmm ok

brisk spade
#

hmd doesnt know if its backwards or forward?

carmine yoke
#

The HMD shouldn't matter, because its just the location you're using

brisk spade
#

it moves around the relative x axis

carmine yoke
#

Oh wait

brisk spade
#

set relative is the exact opposite behaviour

carmine yoke
#

Move to pm cos we're spamming lol

brisk spade
#

maybe using some relative rotation variables?

celest basin
#

hey @tired tree are you round?

celest basin
#

So I'm using the VR Expansion demo project, it works fine on my computer

#

Ah... nvm... damn input mapping

#

hmmm... that weren't it

#

Aight

#

I got a simple map in the VRE demo project

#

All it does is let you teleport nothing else in it

#

I migrated the map to a new empty project (that has the VRE plugins in it)

#

The headset works but the controllers don't

#

the hands just sit on the ground

#

Has the migrate thing missed something with the map dependencies?

tired tree
#

generate input mappings if you are using steamvr

#

its not a plugin issue

#

the new input can be ungenerated

celest basin
#

I exported them from your demo project into mine?

tired tree
#

steam input

#

in the toolbar

#

steam isn't getting a valid action manifest

celest basin
#

so just click both them regenerate thingys?

#

aw yeah

#

thanks @tired tree

celest basin
#

Hey is there a more dynamic way to do collision for the teleport?

#

I'm using a giant voxel world and I can't just put a huge nav volume around it

tired tree
#

yes, they only use nav mesh because it is cheap

#

its a projectile path still, you just have to not project to nav mesh and use the hit point instead

#

and make some safety checks for a valid range for the player to stand within

celest basin
#

yeah, long distances will be done by flying πŸ™‚

tired tree
#

well, i should say, not really because it is cheap

celest basin
#

so, any spoilers about where to set this project setting

tired tree
#

but projecting to nav mesh will ensure that there is a valid landing spot always

#

its in the BP code for the teleport

#

you have to change the logic

celest basin
#

ahk

tired tree
#

its not a project setting

desert saddle
#

so,anyone know how i can set the trackpad on the vive to be connected to axis

#

i'm having some issues

celest basin
#

ooh crikey

#

So... it's the Trace Teleport Destination node in the Event Graph?

tired tree
#

yes

#

remove the project to nav mesh

#

and then run some extra checks around the area to avoid running into walls

celest basin
#

I'll need to do a little refresher on ray casting in BP

#

Thanks MordenTral, the framework is awesome πŸ™‚

tired tree
#

well this particular part is from epics template, teleport never was a real focus and people were used to theirs so I just ported it

celest basin
#

it was your car that sold me

#

I'm doing up a quick demo where you get taught how to fly a little spaceship

last knot
#

i have an app (UE 4.24) that has some movie files in it played by a Media Player. Sometimes launching on the Quest causes it to copy the source movie files over, but sometimes it doesn't. I can't figure out the logic for it. Is there anything obvious I'm missing, like a check box somewhere that says "always copy this file on deploying"?

#

also, when it copies them over, it builds .uexp files for each of them. just mentioning that because I've half-convinced myself that I must have copied them over...

last knot
#

thanks, @tired tree , I'll try that out. Any idea why it seems to do some automatically?

tired tree
#

just depends on if they are referenced or not

#

this forces them to copy, regardless of references

last knot
#

i figured that must be it (it thought they were referenced), but I have some specifically referenced in a pawn blueprint and was scratching my head as to why it didn't figure those out.

#

it copied ONE of them. but not the other

night linden
#

Is there a tutorial anywhere on how to change the ue4 hands to the ocolus hands? thanks

sturdy coral
#

@night linden searchhere for oculus hand sample, it is in their github branch

last knot
#

@tired tree Okay, so I added the Movies directory (under Content) to that package setting. What should make the actual copy happen? Launch? Because it didn't.

tired tree
#

when it packages it should include it, would assume that launch would rebuild that but repackage to be safe @last knot

tired tree
#

recook i meant

void root
#

Hey everybody, I have a quick question. I make archviz projects for oculus rift, but have had a lot of clients interested in Quest (unlinked) I like how I can get instant feedback in VR by just hitting play in the editor and putting the heaset on. Is their any process to do this with Quest? I understand that I can use the link cable, but won't that just give me the Rift/Windows experience? If I want to test the project in Quest/Android mode do I have to build the whole thing and then side load it each time I want to do a test? Thanks!

carmine yoke
#

@void root For any functionality, I just use it with link or another headset. To see lighting/materials and things like that, I use the preview rendering level with Es3.1, its not perfect but it gets me 70% of the way there. Then lastly Launch/Make a package and look at it on Quest to make sure everything's still functional and looks good.

#

That's what I do personally, don't know if anyone else has a better workflow

void root
#

thanks

#

that is helpful

steep kite
#

I'm developing for Quest using Unreal with Vulkan. Project setttings are using mobile settings. No HDR, no post-processing, forward rendering, etc.

I have a material which adds some fake lighting by calculating the distance from a flashlight object which uses a blueprint to pass the position into the material.
This material works correctly on Rift, PSVR and PC-based VR platforms. It does not work correctly on Quest.

What is happening is the light position appears in two different positions depending on the eye. In the left eye it appears that an object is lit but in the right eye it appears that the material is lit as if the object is moved a small distance to the right. This creates a mis-match between the two eyes.

The material uses an Absolute World Position node plus it does a bunch of other calculations for light direction, etc.

I suspect that the Oculus HMD code in Unreal is offsetting the meshes for the right eye differently for Quest than it does for the Rift.

If anyone has experience with this or similar issues related to Quest I would appreciate your help. Thanks!

mighty carbon
#

I think Vulkan is undercooked - having a lot of issues with it myself

#

Have you tried ES31 @steep kite ?

steep kite
#

@mighty carbon we switched to Vulcan and we are stuck with it, six weeks until we plan to publish. I am inheriting a lot of these problems unfortunately.

mighty carbon
#

😱

limpid lava
#

Does anyone know to turn off the collision for the headset? I have an interaction that requires the user to press buttons and the headset can unintentionally trigger the collision with the buttons.

tired tree
#

It doesn't normally have any? You have to have added collision to it by adding a component. But just make sure it's on a channel that the button ignores.

limpid lava
#

Found the problem, it was the part of the widget's collision that was attached to the MotionControllerPawn, thanks!

wraith sky
#

@steep kite iirc there are 2 different camera/view vectors for stereo rendering in ue4...it may not be the case but worth trying

celest basin
#

Hey @tired tree that arm IK stuff looks amazing πŸ™‚

#

Any chance you're going to demo having a full body thing with the mannequin?

celest basin
#

Ahhh, and a Flight Stick Lever πŸ™‚ πŸ™‚ πŸ™‚

wicked tapir
#

hello. I'm a brand new Unreal user. I'd like to start VR development using Quixel megascans to make a cool environment, but have no technical skills or knowledge. Does anyone know where a good place to start would be?

willow trail
#

Anyone else having issues with controllers not appearing sometimes on a Valve index? Only having the problem in UE4, but sometimes one or both controller stays on the ground and restarting the preview doesn't fix it. Only way I've found is to shut off SteamVR (and sometimes the editor aswell when that fails).

Kind of a nuisance when I'm demoing something and I have to stop and restart everything when I just put the HMD on someone and they wonder why they have no hands 😦

night linden
#

@sturdy coral thanks, i see it doesnt have any grab functions etc. I guess i'll need to re-write everything bugger

celest basin
#

setting up a quest manager tonight... UI interaction tomorrow

rich canopy
#

@celest basin whats a quest manager

celest basin
rich canopy
#

Oh hahaha i thought oculus quest manager

celest basin
#

πŸ˜„

celest basin
#

I'm in VR expansion plugin, I've added my own widgetInteraction component to BP_Teleport_Controller but I can't figure out where to put the nodes for it in the event graph

#

BP_Teleport_Controller itself has Auto Receive Input disabled

#

So something somewhere else is catching the controller trigger click, but buggered if I can find it

dull mulch
#

Is there a proper vr controller tutorial anywhere?

#

i mean i need thumbstick movement

#

with gravity and collisions

celest basin
#

What headset you using?

dull mulch
#

WMR

celest basin
#

Do you know you have to turn on the WMR plugin to be able to read the thumbstick?

dull mulch
#

idk but it works

#

there is an other problem

#

for example i followed a tutorial

#

but when i rotate the player

#

instead of rotating me it rotates the whole play area

#

and capsule collision is only is in the middle of it

#

it doesn't follow camera/player

#

i wanted to make a simplified physics controller from boneworks

little scaffold
#

@celest basin the input should be in the player controller or the pawn

celest basin
#

yah found it eventually

#

still untangling it

#

tbh I've just made a call to fall back to the basic UE4 template

#

VRE is great, but the docs are non existent and it's real curly under the bonnet

#

I'll come back to it when I got more time, but for this week I need something quick and simple

tired tree
#

there actually is documentation on the website, but no its not a plugin intended for beginners

dull mulch
#

i mean its pretty dumb by itself that you don't have gravity and collision

void root
#

Is there any resources or tutorials on how to get the default rift hand and controller models into unreal? I do archviz stuff and the users/players of my projects are generally unfamiliar with the equipment. If I could show the hands and controllers in the hands like they do in the setup part of the rift that would be a huge improvement for me. I am willing to buy stuff, but am an artist, not a dev so not sure if I could build the whole system from scratch.

dull mulch
#

also what's archviz?

wary charm
#

Hi. I have just enabled the Windows Mixed Reality plugin and the HMD seems to be working as normal. But when I hit play, my motion controllers are not appearing, and therefore I can just move my head around the space.

This is with 4.24.1

tired tree
#

@dull mulch you need to hand set it up, use one of the templates that already did it for you, or derive from a character

#

or use a physically simulating root

#

don't know why you would expect VR pawns to default have gravity and collision, when its not standard practice still

void root
#

@dull mulch architectural visualization

dull mulch
#

what it's used for?

real needle
#

hi guys, im looking for a hand template/mesh kinda like the oculus home one , any idea where i would get smth like this ? preferable for not too pricey

karmic bay
#

Any AR experts in here πŸ˜›

#

I have a noob question related to an idea and I'm trying to see if it's something I can do before diving in further

#

I want to create a "game" but use a camera to track a hockey puck on the floor, and build an interactive game with a projector to practice stick handling

#

So I just need to know if tracking an object can be done in real time

#

Hopefully that makes sense.

wary charm
#

With the VR Template and 4.24.1, the TouchPad of the WMR Controller doesn't seem to be working.

With the 4.23 and the same VR Template, it does work. Any ideas what could be going wrong and where to get it fixed?

desert saddle
#

@wary charm you don't get the ability to get the vector right

#

from the x and y

desert saddle
#

@wary charm do you have your input set to _X and _Y

#

if you have steamvr input thingy

#

Vector2 Actions - As Unreal doesn't have a concept of a Vector2 action we auto group two vector1 actions with names that end with _X and _Y. For example, to create a mapping for MoveLeft you will need a MoveLeft_X and a MoveLeft_Y that you bind to their corresponding controller axis. See the sample inputs for an example. (SteamVR Input Menu - Add Sample Inputs)

#

and for some reason the _X named axis needs to be on the x input of the controller

wary charm
#

@desert saddle I am not sure. I just noticed this SteamVR binding configuration here. Not sure if setting a binding on this page automatically adjusts it inside Unreal or do I have to export and import to Unreal somehow?

past tiger
#

Then at least the trackpads worked for me.

wary charm
#

I have a PlayerStart that is pointing towards the direction of the screen, which is where I want it to be looking at first. But whenever I press play mode or run a cooked version of the project, the camera is looking at another direction, highlighted in Red. Rotating the Capsule does not seem to fix this one. Any tips?

hallow knoll
#

@karmic bay You can track objects in real time through CV or other means (like SteamVR tracking with Vive Pucks). But there are limitations on how fast you can move the tracked object while keeping the tracking data accurate

#

For an "off the shelf" solution I'd say SteamVR tracking is the only viable option, but it might not be enough

karmic bay
#

Gotcha

#

but in unreal so I can make multiple kinds of games. Maybe include twitch interaction. I figure if I can get the base idea working, the sky is the limit

#

also this would be a one off setup for myself. I'm just trying to figure out a way to track puck movement or do something with an Arduino and some sensors

mighty carbon
#

@hallow knoll by chance, are you aware of any ES3.1 render distance limitations in 4.24.x on Quest ? With mobile Vulkan (device) and SM5 (preview), my 10 km^2 level renders whole. However, with ES31 I get black fog that covers entire level around camera at certain distance (a way smaller than 10 km^2). That's on the device only - looks proper in preview.

hallow knoll
#

I'm not unfortunately. Can you repro it?

mighty carbon
#

I'll see if I can make a small repro project without adding that terrain into it

#

I kinda reproduced it with clean project, but I am gonna double check..

hallow knoll
#

@karmic bay That plugin seems great, but I don't know if you'd be able to track the puck with it

mighty carbon
#

@hallow knoll so I got repro case ready.. Check your PM please

tame locust
#

@past tiger I'm deploying to an Oculus Go and none of the trackpad axis bindings behave like axis bindings. I'm unable to register touch of the trackpad (not clicking, only touching) and no amount of googling has turned anything up. Do you or anyone else know what's wrong with the bindings in UE4.24.1?

tame locust
#

I've been testing every permutation of controls I can find for Oculus Go controller bindings and nothing except clicking in the trackpad is registering.

#

I'm thinking UE4.24.1 defaults to some other incorrect hardware which will not allow the bindings to function as intended unless configuration files are modified. That or this is a bug in the latest release.

sturdy canyon
#

@tame locust it is bugged

#

If you are compiling engine from source i can share my changes I made to fix it

#

No one cares about UE4 Go support, so i don’t think anyone ever tested it..

tame locust
#

@sturdy canyon Thanks for the response. I had my suspicions.

#

I've been compiling the Oculus fork of UE4.24.1 hoping that at least was tested, but any additional material you can share will be extremely helpful.

digital musk
#

@real needle I used the hands in the Oculus Unreal examples. You can download them from the Oculus Github Repository - IIRC you need to link your unreal account with github account to access the Oculus Github files

night linden
#

UE4.24.1 is a pita, stick with 4.23

#

Used the oculus compiled version too of 4.24.1 not worth it at the mo

#

@wary charm do you have the find campera component ticked?

#

camera

tulip breach
#

anyone here that can help me, I want to export a render target as a .png in runtime, but I am only managing to export hdr

mighty carbon
#

Oculus Go will be retired pretty soon, I am sure of it

#

@night linden why do you say 4.24.1 is pita?

flat shoal
#

4.23 wouldn't properly build WMR at all, so I personally wouldn't advise sticking with that πŸ˜›

blissful bone
#

Hi I'm trying to build the oculus samples to test on the quest using oculus version of the engine 4.24:
I'm getting this error -
"ERROR: Stage Failed. Missing receipt 'OculusUE4\Samples\Oculus\SplashScreenSample\Binaries\Android\LevelLoad.target'. Check that this target has been built.
PackagingResults: Error: Launch failed! Missing UE4Game binary.
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UE4Game <Platform> <Configuration>"
Anyone have any idea how to fix this or what to google?

uncut silo
#

Hey fam, why perfomance of the Render Target drops significantly if I put off my Oculus? When I put it back on it goes back to normal.

I used "r.SceneRenderTargetResizeMethod 2" console command and it works great when the headset is enabled/on the face. The moment I put it off everything lags for the monitor player.

I assume it has smth to do with rendering or game threads maybe, like the Oculus SDK reduces the rendering budget or smth when it's off. But couldn't find any answer.

P.S I also render a 3D widget for the monitor player.

night linden
#

@mighty carbon just didnt work for my game, had to resort back to previous version

mighty carbon
#

@night linden what exactly didn't work for you with 4.24.1 OC branch ?

hallow knoll
#

@mighty carbon Sending me a repro project doesn't help anyone, submit a bug report πŸ™‚

tired tree
#

nice, the post processing eye cutout is fixed in 4.24 repo currently

sturdy canyon
#

@tame locust DM me in the next 5 hours and I can share my code changes that fix Go input on 4.24

mighty carbon
#

@hallow knoll done

carmine yoke
#

I have a problem with stereo layers, If I attach it to a moveable object (like for example an Ipad style tablet) it seems to lag behind the tablet. I assume this is because its being rendered after the tablet is, on its own pass, but its really noticable. Is there anyway to get it not to lag behind or is my solution just make the screen stationary?

#

This post also highlights the problem - but it's strange, he says it wasn't happening on the Quest for him

#

I found it happened with link cable & natively on quest

eternal inlet
#

math question. If i have two transforms A and B, how do i convert B into A's space?

sturdy coral
eternal inlet
#

ah that does it too

#

cool @sturdy coral thanks

#

it is actually the same as inverting transform A and then composing with Transform B

#

as far as i can tell

#

seems to give same result

tired tree
#

make relative is correct order

#

convert to relative is backwards I think

real needle
#

hi πŸ™‚ For some reason im still able to teleport outside of the boundaries of my navigation mesh..i tried to set up boxes/planes with a collision on them but the player is still able to teleport through them

#

even if I put a block all collision on it.. Shouldnt the nav mesh prevent teleporting outside of its boundaries ?

limpid widget
#

Hey,
What do I need to add collision to my motioncontrollers? as in, the controllers can move other objects they collide with (but not stop themself when they collide)?

tired tree
#

just add any collision component around them

#

or a mesh

ebon scaffold
eternal inlet
#

ok new question, if i have a plane and two vectors on that plane, is there a function to get angle between those two vectors (on the plane), besides using the cosine rule

real needle
#

thanks for the help guys !! πŸ™‚

carmine yoke
eternal inlet
#

@carmine yoke jep, that's the cosine rule

#

i solved it that way too

carmine yoke
#

Oh my bad

#

But yeah that's the only way pretty sure

#

Just make a maths expression if there isn't a ue4 node for it

eternal inlet
#

i might add it to a c++ bplib later down the line

#

also adding in a way to tell if it's on the left or the right side... the cosine rule doesnt really answer that

#

so by crossing vector1 with vector2 and dotting that against the plane normal, i get a sign that tells me if it's x deg to the left or the right

wary charm
#

Seems like the Master-Branch is also not doing well with WMR Controllers.

last knot
#

if anyone is up for trying it out, I have a weird problem that seems to be a Quest bug. I posted it here: https://forums.unrealengine.com/development-discussion/vr-ar-development/1711945-quest-quest-native-specific-bug-with-texture-offset

#

it's related to something I chatted about on #ue4-general a few days ago

hallow knoll
#

@last knot Have you submitted a bug report?

last knot
#

@hallow knoll No, that's my next step if someone doesn't post "You dumbass, you didn't do _______" within a day or two

#

just got a coworker to try my packaged apk and had the same issue. so at least it can be repro

#

I had never messed with packaging before (still very new to this). I found that it creates and apk, obb file, and an installation batch script that set it up just so on the quest, with a certain directory hierarchy. Is there a way to avoid all that and just make an apk, like my coworker does with unity when he gives me something to try on my headset?

hallow knoll
#

@last knot Not sure what you're after. Would you prefer to not have the batch script and install from the command line?

bright walrus
#

When I test VR, my left eye can see only debug text and blackness

#

and guardian

#

and my right eye sees the game

#

what gives

subtle raft
#

Anyone know why my teleportation breaks in packaged project

#

works in editor

#

a Landscape is the teleportation surface

#

could it be related to navmesh and landscape being in different streamed levels

mighty carbon
#

Well, for Quest, Vulkan sucks... ES31 is awesome when working with small levels (~ 0.5 km ^2), but borked for large levels (~2 km^2)

#

Oculus doesn't seem to do any real-life performance testing when it comes to Vulkan.

#

I am under impression they just release sh!t and hope someone else will test it

last knot
#

@hallow knoll no, I was mainly just curious about getting rid of the .obb file, and it not caring about it being int he UE4Game directory (not sure if it will break if you take it out of that)

uncut silo
#

Is there a way not to pause the game/continue running it when Oculus headset is removed?

carmine yoke
#

put a piece of tape over the proximity sensor on the headset πŸ˜…

uncut silo
#

Asking all players to do that kinda sucks...

woeful crypt
mighty carbon
#

Afaik it's one of the conditions for passing review @uncut silo

uncut silo
#

@mighty carbon Thanks! Passing review?

mighty carbon
#

By Oculus, to be able to release on Oculus Store

#

(Maybe it's only relevant to Quest)

uncut silo
#

Well, I'll ask on oculus forums to make it clear than. I'm working on a local multiplayer game and need my Pc player be able to do things even if VR player removed the headset. Also, afaik they have this checkbox in Unity

mighty carbon
#

There is documentation that clearly describes what's expected of your app.

#

For Rift and Quest

uncut silo
#

Yeah, I've seen that

#

As I said I'm working on a local mp game and need some stuff to be working even if the heaadset is removed

thin solstice
#

@uncut silo If it's local multiplayer where one is a PC and another is the Quest, why couldn't the PC act as the server and the PC user continue to do their thing. The Quest user would have their world updated from current server info when they put the headset back on

tired tree
#

pretty sure he is talking about doing it in Async multiplayer

#

in which case, yes oculus pauses rendering when the headset is removed

last knot
#

it's basically a battery saving thing. don't want to take off your headset, then have it completely drained because some app decided they wanted to keep cranking through the cpu cycles.

uncut silo
#

@tired tree Do you know any way to override it? It's for Rift/Rift S

#

@thin solstice Unfortunately it'll take an enormous amount of time on optimization, rewriting for networking, dealing with session management and subsystems. I'm targeting Rift/Rift S

last knot
#

ah, sorry, you said "oculus" and I incorrectly assumed Quest

uncut silo
#

@last knot it's ok, I should've specified

tired tree
#

@uncut silo there isn't a setting actually for it, just scoured the 4.24 oculus module

#

would have to change the logic around
"Settings->Flags.bPauseRendering = !bAppHasVRFocus;"

#

in oculushmd.cpp

#

in " FOculusHMD::OnStartGameFrame(FWorldContext& InWorldContext)"

uncut silo
#

@tired tree that's what I thought. Too bad Unity has this 😦 Thanks anyway! The only thing I came up with is to switch from the Scene Capture to the camera and disable stereo mode

#

And switching back when VR has focus

tired tree
#

there is the SetUseVRFocus function of FApp

#

which is supposed to control this

#

but the oclus module directly sets it

uncut silo
#

Thanks for help! will try to do smth with it

violet musk
#

Is there a way to start casting my own (unknown sources) app in the Oculus Quest without using the quest menu? I have a custom setup where people put on the headset and we want to make it easier to cast the content to a screen. At best the casting would start automatically when starting the app, with always the same target device to cast to. Somebody an idea if that is possible?

carmine yoke
#

@violet musk Don't think so unfortunately

#

Easiest way is to control it from your phone

#

if you've previously accepted on that that headset the prompt won't come up

violet musk
#

Thanks for the quick response. Hm...

#

Was hoping for maybe some kind of ".bat" file even.

#

Have done it that way on Windows for some projects.

carmine yoke
#

I've no knowledge of that tbh

#

If you do find anything PLEASE let me know :p

violet musk
#

Alright, will do :)

carmine yoke
#

I've heard that the Pico headsets can do things like that though - since they're open source

violet musk
#

I see. But then I would lose the hand tracking.

carmine yoke
#

drats

violet musk
#

And that has been super convenient for people now. Not needing a controller.

past tiger
#

@uncut silo The default behavior is that the game continues running when the headset is removed (as in the vanilla VR template). You would have to implement a pause if you want that.

mighty carbon
violet musk
#

Yeah, I'm using QuestHands

#

Haven't been missing anything

mighty carbon
#

🀷

uncut silo
#

@past tiger not sure I understand. I'm trying to avoid the pause

tired tree
#

he likely hasn't tried with the oculus plugin enabled

#

afaik its the only one that auto pauses

past tiger
#

I think OculusVR plugin is always enabled by default, and I leave it enabled. But I've never encountered that pause with my Oculus Rift.

mighty carbon
#

I can't believe Epic hasn't added alpha to coverage for mobile VR @hallow knoll 😦

mighty carbon
#

I submitted it through bug submission form, hopefully someone will look into it

honest imp
#

For the past while I've been getting problems with certain screen-space draw operations in VR. It looks like the projection from world space into screen space is just failing horribly, causing things like DrawDebugString or widget components set to draw in World Space to be in the completely wrong spot, which is affected by head orientation. (As in, they fly around the world wildly as you look around trying to find them) It's making it really hard to debug stuff since being able to write debug messages to the screen is super important in VR. Is anyone else having this trouble, and is there a known fix?

tired tree
#

don't use screen space debugs? those are considerably worse in VR anyway than a stereo layer or actual physical display

honest imp
#

These aren't screen space debugs. They're world space debugs. But the game needs to project ther world location to screen space when rendering them, and it's failing to do so, so it looks like the debug messages are just at some random spot in the world that has nothing to do with where I told them to draw, and they fly around when I move my head.

tired tree
#

the screen space is split, its the same reason that rendering widgets directly to screen don't work right

#

in VR

honest imp
#

They used to work in 4.22 or 4.23 or thereabouts

tired tree
#

or why the debug messages and stat windows have been all over the place in every engine version as they keep having to correct them

honest imp
#

It makes sense that the screen projection stuff would break when your screen is split. But it used to work. They just stopped supporting it, or what? Has someone made a plugin or anything to fix the calcualtion to draw separately to each eye?

#

Debugging stuff in VR is hard enough as it is.

tired tree
#

which is why in game debug objects are pretty nice, drawing directly into the screen space is usually worse in all cases

#

there are a couple of vr debug plugins out there that offer that kind of setup

#

and open source code for making your own

#

unless you specifically want arrows or look direction or something projected

#

then I can see your point

honest imp
#

Often I just want to verify that some blueprint logic is running which relies on player interactivity. So I toss in a draw debug string to draw something over the object, and then I remove it.

#

But now the strings don't reliably show up since they draw god knows where due to the projection failing

mighty carbon
#

sooo, Epic apparently can't repro the bug I am having with the project I provided (which obviously I tested several times and the bug was there). Can someone with Quest (and UE 4.24.1) test it and see if you are getting the same issue I am getting ?

#

thanks

mighty carbon
#

soo, no one?!

mighty carbon
#

oh well, no need.. I figured it out

mighty carbon
#

so, Shipping build with ES3.1 gets borked

digital musk
#

@uncut silo Which engine version are you using - I used to have the same behaviour - taking off the Oculus Headset caused the game to pause....but I just noticed that it no longer does that - My project is on version 4.22

uncut silo
#

@digital musk that's funny I'm on 4.22 also πŸ˜„ Did you do smth?

rich canopy
#

@mighty carbon looking at all the problems you had with 4.24 on quest made me decide to stick with 4.23.1...

rich canopy
#

If anyone wants to play around with the quest hand tracking

carmine yoke
#

@mighty carbon I can test it if you still need or you got it covered?

solar mirage
#

guys can anyone link that Augmented reality card, where it has 3d depth, i mean the card has spawned an 3d model inside it and it moves accordingly

#

i am searching for tht video but cant find it, it was really fascinating,

carmine yoke
solar mirage
#

lemme check

solar mirage
#

no this is not the one, basically imagine this a pokemon card where the pokemon is looking from inside the card and if we move the card, the 3d moves in the opposite direction, cause it is inisde the card

cyan kayak
#

Any one having issues with 4.22 and SteamVR?

It works fine for the VR side, however the main screen on the monitor is messed up. On 1920x1080 the bottom right cuts out, on a 1440p screen it just sits in the top right corner and it wont allow me to size it or move it

#

However, with Steam VR off e verything works off

topaz plank
#

Has anyone gotten text/audio localization to run on the Quest/Android? I'm calling SetCurrentLanguageAndLocale(), writing to config, which works (verified in GameUserSettings.ini). However, when restarting the app, it still loads default language's text & audio. Builds packaged for Windows work like a charm, Android doesn't...

carmine yoke
#

@cyan kayak Have you got your Spectator screen setup correctly?

cyan kayak
#

I didnt even know about this ill give it a read now

#

Thank you

#

In the lobby btw my VR is disable so im still confused as to why this is the case

cyan kayak
#

The above didnt work

shy merlin
fossil mason
#

Hey! Does anyone know any good books to start learning VR development? I'm planning on jumping in and grabbing an Index in June/July along with a new GPU.

#

I'd love to start learning before though

shy merlin
sturdy canyon
#

That looks fantastic @shy merlin !

#

Is it maintaining 72fps?

#

@fossil mason VR dev is all of game dev, plus a bit of unique UX stuff. I'm aware of one VR dev book, but it's unity focused

mighty carbon
#

@shy merlin arm64 Vulkan? Dev or Shipping build ? Oculus fork or stock Epic ?

#

asking cuz I have f#ck load of issues with Oculus fork and Vulkan

shy merlin
#

@mighty carbon it’s the oculus fork, currently 4.23 and yes arm64 Vulkan

mighty carbon
#

ah, I am on 4.24.1 + 1.44 (12.0)

shy merlin
#

@sturdy canyon it’s hovering around 60 fps right now. I was really pushing the post, I have an outline celshader and some depth fog going on

#

I also have a digital dissolve and reconstruct effect

#

So it could hit the benchmark just need to optimize a bit

sturdy canyon
#

...post?

#

Does Quest Vulkan support post processing?

shy merlin
#

Yes

mighty carbon
#

@shy merlin do you use stock UE4's PP or rolled out your custom solution ?

shy merlin
#

@mighty carbon So I use some post process materials for the fog and cel-outline. Other than that, it is what is available in the mobile post processing stack. I'll link some documentation.

#

This shows what is available on the mobile platform.

mighty carbon
#

I see, cool

#

I was told that stock UE4's mobile post process is too heavy for mobile VR

sturdy canyon
#

Just clicking the Mobile HDR checkbox doubles your render costs

#

And each PP pass will eat up a couple ms even if you just add 1 to each pixel

#

Maybe not quite 2ms

#

so it is recommended that people not use it. But apparently it works. I'm surprised it worked at all on the Vulkan branch

shy merlin
#

Vulkan handles the depth calls and other passes differently than es3

#

Mobile hdr is essential for Vulkan

mighty carbon
#

I think you are misunderstanding, or they misspoke - Oculus said many many times not to use Mobile HDR

#

every time I report performance drop Oculus tells me to make sure that Mobile HDR is off

sturdy canyon
#

If it works and he can get good enough perf, cool

mighty carbon
#

just skimmed through that video and nowhere in there they say Mobile HDR is essential for Vulkan

sturdy canyon
#

Oh I didn't see he made that claim, yeah that's not true. I use Vulkan without Mobile HDR on Quest

#

Btw, yesterday Remi found the purple splotch bug. The fix should come in the next 4.24 Oculus update

mighty carbon
#

^^^ ...and make sure Mobile HDR is turned off:

#

@shy merlin ^^

shy merlin
#

it needs to be on for developing in vulkan

#

i profile with renderdoc and oculus metrics tool

sturdy canyon
#

nope. Vulkan works fine without MobileHDR

#

I use Vulkan with MobileHDR off

shy merlin
#

ah i use it on all my projects

#

I have about 4 different products right now with vulkan using hdr

#

that are 60-72 fps, but still have not implemented hlods

sturdy canyon
#

I'm pretty sure that no released Quest games are using mobile HDR right now. If you can pull it off, you would have a unique look πŸ™‚

shy merlin
mighty carbon
#

yeah, that's Android Vulkan for non-VR

#

where you can have 30 fps and be ok

shy merlin
#

right

#

there has to be games using mobile hdr

#

moss for example

#

some of the shaders would not work without it

sturdy canyon
#

My understanding is that most people make single pass shaders that run PP at the end of the single pass

#

I haven't played moss on Quest, though.

thick linden
#

If I just wanted to use vr for utility in development and not for the packaged game, there isn’t anything stopping me from this yeah?

mighty carbon
#

what does it even mean?

tired tree
#

@thick linden for level design?

#

and viewing?

#

nothing stopping you

thick linden
#

cool thank you

#

yeah I have a dolphin

#

i'd like to control its fin with motion control just to see if my joint math is right

#

stuff like that

silk lodge
#

I also always uncheck mobileHDR when deploying for quest

tame cypress
#

Is there a right way to make a VR mirror for best quality/performance? planar reflection, scene capture cube, render to texture? Currently using a 2d scene capture with an orthographic camera with flipping the texture rendering, and tex coord to size how i want, but having difficulty figuring out the material math to make it look right with all distances with the orthographic camera. Perspective cameras aren't really giving me good results because no FOVs settings make them look like a real mirror. Currently my orthographic mirror really only works from one set location, and not when i move it around. Since I'm trying to fix this, just wondering if i shouldn't be wasting my time with it, if there's a better/different way...

odd garnet
#

@tame cypress use the normal way to do it but curtail when and how its rendering based on the player

#

__

Anyone use ARCore? my world doesn't seem to mesh and create blocking collision

tame cypress
#

@odd garnet normal way being the 2d scene capture? For multiplayer though, can't really adjust based on player.

odd garnet
#

Why not?

#

mirror should be client only anyway

tame cypress
#

@odd garnet hmm, yea you're right. ok, i guess maybe i'll need to sort this material math then..

hollow obsidian
#

Has anyone else had an issue where previewing your VR app shows at full fps (90/80/72 depending on your hmd) but after building and packaging the app is either limited to the monitor's frame rate (60hz) or stuck at half (45/40)?

I noticed that if I manually turn off VSync or GSync in the computer settings it runs fine but I can't find where to turn off GSync/FreeSync in unreal.

past tiger
#

Which version of UE4 @hollow obsidian ?

hollow obsidian
#

@past tiger we're using 4.23 (tried regular and oculus builds)

past tiger
#

There's a bug in 4.23 where it always runs at the monitor's refresh rate when in windowed fullscreen mode.

mighty carbon
#

wow, WTF Epic... I file bug report, send you repro case, whoever is handling the case confirms the issue, then tells me that they can't reproduce the issue if they make the same project from scratch. Then they send me scratch-made project and not only it's not made in the same version of UE4 I reported, but also the whole project is not the same my repo case.

#

just FYI @hallow knoll ^^

#

that's why I hate filing bug reports when it comes to mobile VR because no one gives a damn apparently

flat shoal
#

@mighty carbon similar to my VR experience... I point out bugs with HP Reverb in WMR, and Epic replies that they can't reproduce it on their Oculus devices... like... wtf, dudes πŸ˜›

pine nimbus
#

Planar reflections on Oculus Quest put the framerate under even with extreme scene optimizations.

#

I'm quite sure if the whole scene was rendered twice or even three times it would run at frame, yet a planar reflection tanks performance. Has anyone achieved a performant true mirror on Quest / mobile VR?

woeful sundial
#

@odd garnet did you configure the SessionConfig in the AR project? there are settings for automatic mesh and collision generation in 4.23 and later. (Earlier version require to use a procedural mesh.) Worked on ARKit at least. ARCore is in general very broken in Unreal Engine. Development seems to have stopped. ARKit also incomplete and buggy. See bug reports for more info https://issues.unrealengine.com

odd garnet
#

Got it xD

#

it was the handheld AR template

#

I ended up placing a proc mesh onto the ground and doing it that way πŸ˜›

#

thanks tho!

real needle
#

Hello! Do you know how you can scale the content in AR?

#

When designing a full-size map ... I would like to place it on a small-sized plane ... like a board game ...

real needle
#

I'm new to Unreal, what kind do you see developing an AR game with Unreal? Its viable? there are implementation failures .. etc?

woeful sundial
#

@real needle yes if you scale down a level with "Set Level Transform", all actor positions will be scaled down, BUT the actors themselves would stay the same, so these need to scale down aswell. The scale-factor could be saved at one place (game instance or player controller), then every actor can looks it up and scale itself down in the constructor. (Easy, but Downside: unit-dependend things like physics and movement components using mass, force, velocity etc. will not all scale accordingly.)

A better method maybe would be to set "World to Meters" in the World Settings. But i did not try this yet. It does work for VR, but for AR it might not.

#

@real needle hurts me to say that, but Unreal is not a good choice for Mobile AR. Nothing but trouble, bugs, as usual no documentation. Much better off with Unity who care.
Unless Fortnite gets an AR mode, it will stay painfull.

#

You can search the forums to find out more about all the problems

real needle
#

I have seen the game The Machines, which is made in unreal, and looks great, it hurts to move on to Unity .. since I come from there .. xD

woeful sundial
#

The team behind The Machines surely had an Objective-C/iOS dev in the team to fix stuff like icloud saving. UE4 only has it's limits. Also this was ARKit 1. You could use older UE4.22, but no ARKit 3 features. Have a look at Apple's Reality Composer. AR Graphics are more efficient than UE4 on iOS!

real needle
#

Then maybe you advise me to use Unity for AR games .. right? 😦

woeful sundial
#

The Reality Composer app from Apple uses fake ambient occlusion, scene-capture, realistic lighting, post processing to match the camera footage (bloom, motion blur, grain) and the device does not even get warm. With UE4 even newer devices get warm and throttles.

#

@real needle sadly, sadly, this is the current state, yes. There are no infos how this will continue, UE4.25? the roadmap on trello only says something about "Standardizing AR in UE across devices." Try it for a few days and then decide. But if you want latest features (people occlusion, ai scene understanding and cross plattform with android) i advise against UE4 πŸ˜”

real needle
#

The idea I have is to make a shooting game .. as if it were in the first person .. Develop it as if it were for mobile, and then implement the scenario with AR on a plane and use the camera as if it were an FPS .. Would it be much problem adapting any game to AR mode?

woeful sundial
#

@real needle Depends how experienced you are with Unreal and AR. If this is new to you, you will get results several times faster with Unity, as Unity provides documentation, instead of awkward live streams.

real needle
#

The problem is that I want to focus on AR and VR development ... and I understand that for VR it is better unreal ... but for AR it is better Unit ... xDDDD. It is difficult to decide on use a single xDD platform

woeful sundial
#

I know.

real needle
#

Ok, thank you very much for your help πŸ™‚ I will try to continue with UE4

mighty carbon
#

@real needle are you developing for Oculus Quest?

#

for AR you definitely might want to stay with Unity (unless you are working with Hololens 2)

sturdy canyon
#

I made an ARCore app in UE4 last year and it was fiiine

#

but epic seems to take a bit longer to get the latest AR features integrated

tired tree
#

@mighty carbon have you even tried to make anything AR?

woeful sundial
#

@sturdy canyon I have to disagree. Last ARCore update branch is 4.21. November 2018!

#

That is not just a bit longer

#

both ARKit and ARCore have quite more features since then.

#

ARkit 3 -> Unity SAME month, working with Apple and Google. Unreal release post claims support. But camera footage bug and only some feature supported without (as always) any documentation. (Going through blueprints and sourcecode, as if time was an endless resource...)

#

oh and also environment capture for lighting makes any app crash. UNUSABLE

sturdy canyon
#

well that's approximately when I was last using ARCore πŸ˜•

#

My bad

mighty carbon
#

@tired tree nope, but seeing how ARCore support hasn't been updated for a long time (and new AR devices not even having UE4 SDK or integration), it's safe to say Unity would be a better choice

woeful sundial
#

A look into forums, answerhub and bug reports shows the sad state of mobile AR with Unreal Engine.

spare yew
#

It's worth noting that while the ARCore plugin hasn't updated, the SDK has and so the updated features like realtime image tracking do work (I have tested this and actually had better results out the box with UE4 than Unity)

(I also made the mistake of assuming that ARcore plugin still being on 1.7 meant that no new features were available since then)

#

A fix for the aliasing of the camera image is coming in 4.24.2

hybrid plume
#

Hey there fellas, so for the Quest I can set CPUandGPULevels (maxed out) with a node, does anyone know how to return back to dynamic power throttling?

woeful sundial
#

@spare yew ok, but the problem is not about support for image tracking. Let's rather discuss problems than smooth down critique. This is no bashing, we all love Unreal. ❀️ But there are problems and we can point them out to make things better, at least i hope so.
There is more to making a full AR game than just spawning a mesh or image.
Several AR bugs marked with target fix 4.24.2 have been already been marked for 4.22 and delayed again and again. More current bugs: Camera rotation bug, cannot get video format for AR, and even starting ARCore Session bug. How to create an ARCore app if the session does not start? ARKit list goes on further. I also don't want to use Unity, it is just a fact, that it leads in this.