Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin fails to compile with UE 5.1 and UE 5.2 #7

Open
Caffiendish opened this issue Jul 9, 2023 · 6 comments
Open

Plugin fails to compile with UE 5.1 and UE 5.2 #7

Caffiendish opened this issue Jul 9, 2023 · 6 comments

Comments

@Caffiendish
Copy link

Hi again!

I found this repo again whilst looking for a way to get motion controller data without using/rendering to the HMD, and decided to give it a go with 5.2, where it fails to compile. I happen to still have 5.1, so I gave that a shot too, but the engine has still changed significantly enough from 5.0 to keep it from compilation.

Works perfectly fine in 5.0 though! 👍

@Rectus
Copy link
Owner

Rectus commented Jul 9, 2023

Thanks for reporting it, I'll take a look when i have time.

This plugin likely works the same way as the official plugin though, so I don't think it would have any differences with whether it works without the HMD.

@Rectus
Copy link
Owner

Rectus commented Jul 9, 2023

Ah sorry, I though this was posted in my Vive Tracker plugin repo: https://github.com/Rectus/UE4OpenXRViveTrackerPlugin

@Caffiendish
Copy link
Author

No problem, I did see that, was planning to look at that later and hopefully glean some information about how to interact with trackers/controllers without using an HMD! :D

@Rectus
Copy link
Owner

Rectus commented Jul 9, 2023

Oh I see. The plugin initializes an OpenVR instance in background mode if the engine isn't already actively using the SteamVR plugin. I've had success in retrieving device poses, so it should work for your use case. I'm not sure if the newer IVRInput interface works though, so it could possibly be limited to the legacy methods in IVRSystem.

@Rectus
Copy link
Owner

Rectus commented Jul 31, 2023

I've been looking at it, and while I can get it to compile with a few small fixes, there seems to be a ton of issues. The editor seems to deadlock often, and I can't find a cause, and the post-process material shaders seem to have huge changes, and I'm not sure if I can get them to work again.

Getting everything to work seems to be a huge task, and I'm not sure I can do it in the near future, sorry.

@Caffiendish
Copy link
Author

Caffiendish commented Jul 31, 2023

That's a shame, I found I could get it to compile, but there was some crash when I clicked the trigger in, IIRC.

Maybe the Quest 3's passthrough/AR will actually be good enough that more people will be interested in passthrough/AR on PC? 🤔
Honestly, the best thing for the Index at this point is probably a frunk USB camera.

Thanks for taking a look!

Oh, unrelated tracker issue I mentioned before was resolved by checking whether we're in an XR tracking session or not:
https://github.com/Caffiendish/UnrealEngine/commit/b60bc55cd6d7fcb57e3b7dd4c90cbda1faf396a3 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants