facebookarchive / oculus-debugger-vscode

Oculus Debugger is a VSCode extension that is primarily meant for real-time debugging of Unreal Engine games for Oculus, but it also fully supports debugging both Oculus Applications (i.e. apk files) and Oculus Native C/C++ binaries. This repo is used to track extension bugs submitted from VSCode.
Other
6 stars 3 forks source link

Clarification of usage #2

Open badVibes-- opened 3 years ago

badVibes-- commented 3 years ago

Hello, I'm working with Unreal engine and am trying to follow the guide. I'm not sure I understand where I need to put my project. From the guide: "Make sure your code project is located under the UE4/Projects directory. Blueprints-only projects are not supported."

But what exactly do you mean by "UE4/Projects" directory ? I tried "Documents/Unreal Projects" which is the only one that comes to mind, but I never get "PROJECTNAME Oculus (Development) Launch" as an option as the guide mentions.

If you could please clarify which is the correct path that would be great.

mnovakovic commented 3 years ago

@badVibes-- I reached out to our Unreal Engine experts and they should be back with a response very soon!

tommybazar commented 3 years ago

I would also appreciate this info. And "very soon" seems like not that soon after all...

tommybazar commented 3 years ago

Actually figured it out. Open your project normally, go to "Editor settings" and select Visual Studio Code as your "Source Code Editor" under "General -> Source Code". Restart editor, and then under "File" you can generate VSCode project files.

Then you open the .code-workspace and the Oculus options are there under Run and Debug.

The documentation is weird, it doesn't matter where your project is at all.

hosaka commented 3 years ago

@tommybazar thank you for the tips, I got the debugger to run with my project

However, it crashes upon starting, complaining that it cannot find libunwind with the path that seems to be some developers local directory. Can someone in the know comment on this @mnovakovic?

Unable to open 'Ginit.c': Unable to read file 'l:\P4\FN_D\Engine\Source\ThirdParty\Android\libunwind\libunwind\src\aarch64\Ginit.c' (Error: Unable to resolve non-existing file 'l:\P4\FN_D\Engine\Source\ThirdParty\Android\libunwind\libunwind\src\aarch64\Ginit.c').

Where do I configure this path?