Search Unity

Question Playing scripts during building

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

  1. papple_dc

    papple_dc

    Joined:
    Feb 28, 2023
    Posts:
    1
    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?
    Thanks,
    Papple
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    5,058
    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.