Forum Discussion
zenf137
3 years agoStart Member
Unreal Insights Quest 2 UE5
Hello, can anyone confirm they got Insights working with UE5?
I followed the instructions that got it working in 4.27 but it just doesn't want to connect in 5.0.
Missing a profiler is quite bad. If anyone got it working can you please reply. A simple Yes/No would do, then at least i'll know its something with my setup.
Please!
6 Replies
Replies have been turned off for this discussion
- c00l3ruHonored Guest
Did you ever figure out how to do it? Been trying to get it working all day with no luck for UE5.
- truthtracerHonored Guest
The official tutorial doesn't work for me. Confused.
- yibbleExpert Protege
I'm unable to get this working either. Anyone found the answer?
- ChicoPacoPancho_ReneExplorer
I was able to get unreal insights working for apps running on Quest 2 from UE 5.2 using Unreal's "Project Launcher". If you are unfamiliar, it is a powerful feature that lets you fully customize your builds and save the different types of builds you do as "profiles". Then you can just launch a profile and all the applicable settings for that profile will be built and deployed, including the command flags needed to get the game to talk to insights.
More on project launcher:
https://docs.unrealengine.com/5.2/en-US/using-the-project-launcher-in-unreal-engine/The difference between this way and the other way from the guide is that your quest will be sending the profiling data over the network.
- Get the the IP address of your computer (you can use "ipconfig" in a command line on windows) on the local network and
- Connect the headset to the same network and/or disconnect air link and attach with usb cable as if you are doing a normal build to device
- Tools > Project Launcher in Unreal
- Create a new profile using the Add button.
- In the "Build" section, open the Advanced Settings dropdown and add the same commands documented in the original guide (https://developer.oculus.com/blog/get-started-with-unreal-insights-on-the-oculus-quest/). The only difference is to add your computer's IP you got from step 1 to -tracehost instead of 127.0.0.1
- In the "Cook" section select "By the book", select "Android_ASTC" for platforms, and for maps select whichever maps you want to test with
- For the "Package" section select "Do not package"
- For "Archive" uncheck
- For "Deploy" section select "Copy to device" and check Quest 2. You should see it as long as your device is connected via usb and adb is able to see it (adb devices)
- For "Launch" section you can leave as default or set initial map to a specific map you want to profile.
- You can rename the profile by clicking on the name at the top. Now you can click back and select the launch profile button in the project launcher window. Once the window says Launching on device, you should be able to see live data coming into insights
- vlab22Honored Guest
I posted a solution into Unreal Forum:
https://forums.unrealengine.com/t/get-insights-working-with-quest-2-and-ue5/529386/2?u=vlab22 - Mr_Fr3ManExplorer
Hello everyone. Maybe it is no longer relevant for the author of the post, but for those who are still looking there is a much simpler option, tested on UE 5.5 and Quest 2.
Here are 2 commands for adb to turn on recording and turn it off at the right time. Important! Correct 192.168.1.1XX in both commands to the IP of your PC on which you are going to receive traces.adb shell am broadcast -a android.intent.action.RUN -e cmd ‘Trace.Send 192.168.1.1XX cpu,gpu,frame,log,counters,bookmark,file,loadtime,rhicommands,rendercommands,object’
adb shell am broadcast -a android.intent.action.RUN -e cmd ‘Trace.Stop 192.168.1.1XX’
Total:
- Enable Unreal Insights on your PC.
- Launch the packed game Development or Debug on the helmet
- Activate the first command at the moment when you want to start recording
- Activate the second command at the moment when you want to stop recording
- View the result in Unreal Insights on the PC
Naturally, your devices must be on the same local network, you must have access to debug Quest 2 via adb. You may also need this command, I don’t know for sure, but I used it once.
adb reverse tcp:1980 tcp:1980
If you have the Meta Quest Developer Hub app installed, you can add Custom commands to avoid manually entering the start and stop of traces.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 1 month ago