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. Dismiss Notice

Bug Moving issues on Appliction Spacewarp

Discussion in 'VR' started by ShavSkelet, Mar 2, 2022.

  1. ShavSkelet

    ShavSkelet

    Joined:
    Nov 29, 2017
    Posts:
    29
    Using the application Spacewarp for oculus quest 2 is causing a "vibrating" on the hands when moving.
    I put the custom hand prefab on the hands anchor and when i move the controllers, the hands doesnt seems to follow the "correct" movement. When i turn off the Application spacewarp everything works fine.
    I think it is cause because of the AI of ASW trying to calculate the next position of the hands in the frame but it does it wrong. Any way to solve it?
     
  2. mabulous

    mabulous

    Joined:
    Jan 4, 2013
    Posts:
    198
    Are you sure your hands shader is outputting correct motion vectors? application spacewar requires correct motion vectors for everything in the scene to work properly.
     
    ShavSkelet likes this.
  3. ShavSkelet

    ShavSkelet

    Joined:
    Nov 29, 2017
    Posts:
    29
    How could I check that? The hands shader is the Universal Render Pipiline/Lit not a custom one.
     
    Last edited: Mar 2, 2022
  4. mabulous

    mabulous

    Joined:
    Jan 4, 2013
    Posts:
    198
    Output the motion vector buffer that you are sending to AppSW somehow and check whether the motion vectors on the hands are feasible.
     
  5. mabulous

    mabulous

    Joined:
    Jan 4, 2013
    Posts:
    198
    Also, don't use "ASW" as abbreviation for Application Space Warp. ASW is Asynchronous Space Warp, AppSW is Application Space Warp (yes, silly naming but better use these things correctly to avoid further confusion)
     
  6. ShavSkelet

    ShavSkelet

    Joined:
    Nov 29, 2017
    Posts:
    29
    I tried to find how to "output the motion vector buffer" but didnt find anything or understand how. I know you mean that the problem is problably the motion vectors, but i didnt do any script or anything to "modify" those motion vectors, i just put a custom hand prefab on a Hand anchor of the OVRCameraRig that oculus provide. And the hands shakes when I move.
     
  7. ShavSkelet

    ShavSkelet

    Joined:
    Nov 29, 2017
    Posts:
    29
    Ok I was able to record the effect (more or less) its a bit different on video and more smooth, but on the oculus the effect is very annoying. On the video I start with AppSW off and then turn it on. You can see that the elements close to camera vibrate with the movement
    .
     
  8. jana553

    jana553

    Joined:
    May 31, 2018
    Posts:
    7
    Did you find any solution for this?
     
  9. TommyTheITGuy

    TommyTheITGuy

    Joined:
    Jun 11, 2015
    Posts:
    49
    Did you follow the documentation correctly when adding AppSW? Did you switch your URP packages to Oculus URP fork (or added motion vectors yourself)? Are you using a standard URP shader? Did you check if this occurs both in Multiview and Multipass rendering?