Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

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:
    519
    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. LianneUnityXR

    LianneUnityXR

    Unity Technologies

    Joined:
    Jan 31, 2023
    Posts:
    14
    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:
    519
    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
     
    LianneUnityXR likes this.