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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Question Playing scripts during building

Discussion in 'VR' started by papple_dc, Apr 2, 2023.

  1. papple_dc


    Feb 28, 2023
    Hi everyone,
    I'm new to Unity VR Development and I'm developing for Oculus Quest 2.
    My problem is that when I press the play button my scripts work but I can't move or do anything; the thing is I want my scripts to work when I click "Build and run", but they don't. In "Build and run" I can move and rotate, but all the other scripts don't work.
    I have made an extremely simple script where I call a print on console, but it keeps working only in play mode (where I can't move or interact at all)
    Anyone can help?
  2. DevDunk


    Feb 13, 2020
    1. Update Unity to LTS if possible
    2. Start with a known to work guide on YouTube or the VR development pathway on Unity Learn
    3. If that doesn't work use debug builds and logcat to see any errors
    nilagard likes this.