cancel
Showing results for 
Search instead for 
Did you mean: 

"InvokeRepeating"not getting called on the quest

Vector3Up
Level 2
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.

0 REPLIES 0