Jump to content

Vive Focus and Unity in 2023 can't find a way to build a working app


Kerryuxa

Recommended Posts

Greetings. I need to port an app working on oculus quest 2, developed on unity 2021.3.16f1 with oculus XR plugin. 

I created a empty Unity project to try building simple app for Vive Focus, with URP. Then Installed XR Plugin management, Wave XR, Wave XR - Essence, and VIU (not using anything now from it, but as I Understood i ll need this when porting). 

Added to empty scene WaveRig from WaveXR plugin, as it is said in Getting started in official documentation.

And tried to build app to Focus, with all steps did from Getting started doc.

Build successful, but it is not working. It launches, black screen for 10 seconds, then crashes to main menu.

Also I tried using Direct Preview and launching editor scene and watching it from  Focus via usb, but Direct Preview app behaves the same as app build - 10 seconds, crash to desktop.

I went to android studio to debug apk on Focus, and saw an fatal error, but i can't understand why this is happening.

Log can be found here Log

Please, help me solve this problem.

Link to comment
Share on other sites

9 hours ago, Alex_HTC said:

Hi @Kerryuxa

The pastebin is marked as forbidden, so it's hard to tell, but try this as a working project example. You'll need git lfs installed to make sure this works

https://github.com/hardcoded2/URP-Example

-Alex

HI @Alex_HTC

Updated pastebin.

Also, recently found that 2 latest waveVR patches are not working with focus+. Now testing with previous sdk version.

 

Link to comment
Share on other sites

  • 5 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...