Jump to content

Unity's "Wait for managed debugger" on the Vive Focus


Recommended Posts

I'm trying to debug a Unity application on the Vive Focus. I can attach the Visual Studio debugger via USB or TCP once the app is running, but the bug I'm trying to figure out happens during the app's start-up. Unity has a build option "Wait for managed debugger" which puts the app to sleep until a debugger is attached. When I use this with the focus, then the Vive loading screen (with the blue Vive squid logo) goes dark, which presumably represents the point where the app waits for the debugger. However, if I then attach the debugger, the app never resumes and is just stuck on that dark loading screen.


Has anyone else experienced this and found a solution to the issue?

Link to comment
Share on other sites

Quick update: I noticed that Android itself also has a "Wait for Debugger" option in the developer options. Turning that on brings up a dialogue split over both eyes that the app is waiting for a debugger, but a) Visual Studio doesn't find the app in this state, so I can't actually attach the debugger and b) there's no way to interact with that dialogue and it remains even if I force-quit the app through adb, so I can only exit this state by shutting down the Focus completely.

Link to comment
Share on other sites

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...