aiddun Posted January 28, 2022 Share Posted January 28, 2022 (edited) I'm using UE4 using a patched version of the SDK (see my previous post), but what I did may be helpful here. In running adb shell cat /sdcard/DirectPreview/config.json, I noticed that the ip it spat out in the json file wasn't at all the IP of my computer, and reinstalling the APK didn't fix it. I manually edited the ip to my PC's LAN correct ip (using a plugin in VSCode) and now everything works from basic testing. I think this might have been because I have a bunch of different (virtual) network adapters on my PC. Edited January 28, 2022 by aiddun Link to comment Share on other sites More sharing options...
sadmachine Posted March 25, 2022 Share Posted March 25, 2022 On 1/28/2022 at 12:55 PM, aiddun said: I'm using UE4 using a patched version of the SDK (see my previous post), but what I did may be helpful here. In running adb shell cat /sdcard/DirectPreview/config.json, I noticed that the ip it spat out in the json file wasn't at all the IP of my computer, and reinstalling the APK didn't fix it. I manually edited the ip to my PC's LAN correct ip (using a plugin in VSCode) and now everything works from basic testing. I think this might have been because I have a bunch of different (virtual) network adapters on my PC. Hi, aiddun. When I also ran adb shell cat /sdcard/DirectPreview/config.json, the IP was different from the PC. How did you change the IP in config.json? I also use VScode. Link to comment Share on other sites More sharing options...
dev_imag-ing Posted April 4, 2022 Share Posted April 4, 2022 On 9/30/2021 at 3:39 PM, Alex Jones said: Hello, I am working in Unity 2020.3.11f1 using WaveXR SDK 4.1.1 to develop and app for the Vive Focus 3 I am having trouble setting up the Direct Preview feature, I have a working build of my application on the headset but no great way to debug it. I have followed the guide here, https://hub.vive.com/storage/docs/en-us/UnityXR/UnityXRDirectPreview.html, with but after I start the device APK I will just end up with a connection time out every time. I am using this to get the device IP, I have also made a script in unity using Dns.GetHostEntry(Dns.GetHostName()).AddressList to print the IP of the device in the headset, this returned 192.168.1.145 These are the settings for Direct Preview in the editor And this is the output when starting the server, it does not change when I launch the device APK Any help would be greatly appreciated! Hello there, Exact same problem happening here, and I could not find a way to use VBS in order to use the Play mode in Unity. Is there any news ? Link to comment Share on other sites More sharing options...
dev_imag-ing Posted May 9, 2022 Share Posted May 9, 2022 Hi @Dario and @Alex_HTC, DirectPreview does not work. Neither in USB nor WiFi mode. The connection just times out. What is your setup to make this work ? Also, care to explain how to use VBS ? Because it only shows the basic SteamVR layout in the headset, but does nothing when Unity enters Play Mode. Thank you. Link to comment Share on other sites More sharing options...
Sai_K_M Posted July 24, 2022 Share Posted July 24, 2022 Hi HTC!! I am having the same issue as all above users, is there a working solution as of today for this ? 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now