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

[Bug] SteamVR Headset Detection Issue Fix #28

Merged
merged 1 commit into from
Aug 29, 2020
Merged

[Bug] SteamVR Headset Detection Issue Fix #28

merged 1 commit into from
Aug 29, 2020

Conversation

thezofx
Copy link
Contributor

@thezofx thezofx commented Aug 29, 2020

Issue: SteamVR was not able detect PhoneVR Android device as headset.

Problem was PhoneVR Android app was not able to send Android Acceleration Sensor Data through PVRStartSensorData() which was getting hold by ref.wait()

This issue was not obseved in Debug build of app, only occuring on Release build. Variables were not initialized in Release build, resulting in infinite wait.

Related issues: #24, #26

Issue: SteamVR was not able detect PhoneVR Android device as headset.

Problem was PhoneVR Android app was not able to send Android Acceleration Sensor Data through [PVRStartSensorData()](https://github.com/ShootingKing-AM/PhoneVR/blob/master/code/mobile/mobile-common/PVRSockets.cpp#L121)  which was getting hold by [ref.wait()](https://github.com/ShootingKing-AM/PhoneVR/blob/master/code/mobile/mobile-common/PVRSockets.cpp#L140)

This issue was not obseved in Debug build of app, only occuring on Release build. [Variables](https://github.com/ShootingKing-AM/PhoneVR/blob/master/code/common/src/Utils/ThreadUtils.h#L131-L134) were not initialized in Release build, resulting in infinite wait.
@thezofx thezofx mentioned this pull request Aug 29, 2020
@ShootingKing-AM ShootingKing-AM added the fix Code fixes label Aug 29, 2020
@ShootingKing-AM ShootingKing-AM merged commit 6ce3111 into alvr-org:master Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Code fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants