# Oculus Quest not being detected by Unreal Engine

**URL:** <https://forums.unrealengine.com/t/oculus-quest-not-being-detected-by-unreal-engine/450960>\
**Category:** Mobile\
**Tags:** launch, oculus-vr, unreal-engine, Android, UE4, question\
**Created:** [June 19, 2019, 11:59pm UTC](https://forums.unrealengine.com/t/oculus-quest-not-being-detected-by-unreal-engine/450960 "2019-06-19T23:59:20Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![8BitRick](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@8BitRick](https://forums.unrealengine.com/u/8BitRick)\
**Post date:** [March 26, 2021, 7:55pm UTC](https://forums.unrealengine.com/t/oculus-quest-not-being-detected-by-unreal-engine/450960/11 "2021-03-26T19:55:28Z")

</div>

FYI for others with this issue - you may need to set this even if your environment vars are correct.

My environment variables were all set correctly: (ANDROID\_HOME, NDKROOT, JAVA\_HOME). Android Studio set them up when installed… BUT Unreal did not see my Quest 2 until I manually set those values in the settings as you have suggested.  
I literally just copy and pasted the values from my environment variables window to Unreal, then saved. Unreal instantly saw my Quest 2 after this, even without a restart.

Using Unreal 4.26.1 and latest Android studio as of 2021-03-26… sorry my computer is building shaders so can’t open Android Studio to verify version.

---

_[View the full topic](https://forums.unrealengine.com/t/oculus-quest-not-being-detected-by-unreal-engine/450960)._
