Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug TrackedDeviceRaycaster results offset when world camera is scaled

Discussion in 'Input System' started by TheSheyper, Aug 24, 2023.

  1. TheSheyper


    Jul 3, 2013
    In VR when using the TrackedDeviceRaycaster for the UI with InputSystemUIInputModule, everything works fine until you scale the UI world camera (which happens in VR).

    If the camera has a scale of 2 for example, the raycasts to the UI look completely off.

    To my knowledge, this is not the case with the GraphicRaycaster.

    Also, TrackedDeviceRaycaster and InputSystemUIInputModule are really not made to be extended or modified.

    Thanks in advance!