Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Raycast Issues

Discussion in 'Unity MARS' started by NormOfTheNorth, Aug 17, 2020.

  1. NormOfTheNorth


    Dec 8, 2018

    im creating an app that is used to place objects onto surfaces based on raycast hits. inside the simulation view, the raycasts work perfectly, they place objects, and drawline as expected.

    the issue happens when i deploy it to a phone, the raycast does not detect surface hits. i am deploying it via USB as a development build with debug enabled. i have adjusted everything about the raycast but nothing is fixing it.

    im currently running 1.0.1 of MARS on on unity 2019.4.0f1

    the odd thing was this was working perfectly on a device 1 week ago. so i have created a very basic raycast script attached to the camera with a RB and nothing else. the same outcome happens where it works on the simulation view but not phone.
    JohnnyOkami likes this.