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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question VR coroutines in oculus quest 1

Discussion in 'VR' started by Maria_toyos, Jan 11, 2023.

  1. Maria_toyos

    Maria_toyos

    Joined:
    Oct 31, 2022
    Posts:
    3
    Hi! I'm doing a project in unity, instantiating prefabs that use coroutines. My problem is that on the computer these coroutines happen perfectly every time I activate and deactivate a prefab.
    However, when I test it on the glasses, the coroutines are only performed once. Why is this happening?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,456
    Probably an oversight or error, post the code
     
  3. Maria_toyos

    Maria_toyos

    Joined:
    Oct 31, 2022
    Posts:
    3
    I already managed to solve it, thanks. The coroutines were not restarted because I had the timescale at 0.
     
    DevDunk likes this.