Search Unity

Bug W/OpenXR_Actions: xrApplyHapticFeedback: likely race condition with xrSyncActions

Discussion in 'VR' started by chilton, Feb 23, 2023.

  1. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    564
    I'm using Unity 2021.3.19f1 along with the Oculus SDK. The same project has the OpenXR and OpenVR plugins but both are inactive.

    ... AND YET... I'm seeing this tens of thousands of times in the logs. So much so that it's making it impossible to see anything else in logCat. OpenXR is supposed to be disabled! What's going on here?

    2023-02-23 17:55:07.024 13270-13298/? W/OpenXR_Actions: xrApplyHapticFeedback: likely race condition with xrSyncActions, retrying 1
    2023-02-23 17:55:07.024 13270-13298/? W/OpenXR_Actions: xrApplyHapticFeedback: likely race condition with xrSyncActions, retrying 2
    2023-02-23 17:55:07.024 13270-13298/? W/OpenXR_Actions: xrApplyHapticFeedback: likely race condition with xrSyncActions, retrying 3
    ... etc.


    Anyone know how to make it stop?

    Thank you,
    -Chilton
     
  2. lianne13

    lianne13

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    21
    Hi @chilton,
    Would you be able to send a minimal repo project along with the steps you took that caused this error?
    There is a chance this may be an Oculus runtime error but we would like to double check just in case it is a problem on our end.
     
    chilton likes this.
  3. chilton

    chilton

    Joined:
    May 6, 2008
    Posts:
    564
    Thank you!
    I'm seeing it on Quest Pro and Quest 2, when I switch back to controllers from hand control.

    I'm trying to narrow down the cause now. The project is massive, and has a lot of legacy code in there. Right now I'm removing all of the Vive and Steam instances from my scripts, and as soon as that's done, if the problem persists, I'll know it's not in my code. And at that point I'll either post here that I fixed it or I'll shoot you a copy of the source.

    -Chilton
     
    lianne13 likes this.