Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Vector3Up's avatar
Vector3Up
Honored Guest
6 years ago

"InvokeRepeating"not getting called on the quest

Any help would be fantastic.
I have been porting my VR game "Ballooning Adventures" to Quest.  It is currently available for the Oculus Rift and Oculus Go.
Some of the code however doesn't get called when it is running on the Quest.  
I have found that any use of "InvokeRepeating" in my game doesn't get called. 

Here is its use:


void Start(){
   InvokeRepeating("UpdateTimerText", 0.0f, 1.0f);
}
void UpdateTimerText(){
    flightTime = Time.time;
    flightTimeText.text = "Flight Time  " + FormatSeconds(flightTime); ;
    Debug.Log("This should be called every second");
}

I replaced the offending uses of InvokeRepeating with my own timers and it works.
This is fully repeatable.

Has anyone else had a problem with this? 
Maybe no one uses InvokeRepeating anymore.

No RepliesBe the first to reply