OnTimer doesn't work properly
complete
Latiprod
I'm doing a function that requires an OnTimer event and that activates to the interaction of an object. When you activate it the first time it works correctly, but after the first time it seems to be unpredictable the way it acts because sometimes it's activated immediately and sometimes it activates after a few seconds.
Just to give you a practical example, I have a cube with OnInteract, an empty inside the cube with the OnTimer set to 10/15 seconds and another cube always inside the first cube. Now, the interact will activate the OnTimer gameObject and the OnTimer, after 10/15 seconds, will have to show the second cube. As I said before, the cube the first time is shown correctly, the times after it is activated immediately, and rarely it happened to me that it was activated after a few seconds, but not the time that I specified
EDIT: I forgot to specify, I checked Reset on Enable on the timer
Log In
Aev
complete
Fixed in VRChat 2019.2.1!
Nichevo
Is this bug still being looked into? The other post that Bryan Bortz linked to is marked as complete, but it still seems to be happening in 2017.
Ruuubick - Designer
in progress
Tupper - VRChat Head of Community
tracked
Latiprod
I don't know if it has already been reported somewhere, in any case it seems that the problem is solved, at least, right now I did some tests and it seems that the reset is working correctly
PhaxeNor
Latiprod: What's the setup you used for it?
Latiprod
PhaxeNor: I used the same scene described in the first post, and I haven't changed anything. Now to further confirm, I have downloaded your scene and it works correctly: https://youtu.be/t2x2KTZE3Jc
I don't have done anything in particular to make it work, so I guess the change happened within VRChat
PhaxeNor
Latiprod: In the video you didn't wait 5 seconds before you clicked again. But I tested it again with the latest patch and the issue still persists. Reset On Enable doesn't reset.
Latiprod
PhaxeNor: Oh, then I didn't understand the problem before, I thought it always happened after the first time, now I tried again and wait for 5 seconds and actually gives the same problem
PhaxeNor
Can confirm that Reset On Enable does not work.
OnTimer, After 5 seconds the object will disable itself, then after another 5-6 second you click the green button again.
CyanLaser
Looks like Reset on Enable does not reset the time when the object is enabled again, causing it to fire immediately. I know an object was disabled and when I enabled it, the timer reported 400 seconds (7 minutes). This was about how long it had been the last time I enabled the timer object.
owlboy
This began in the last open beta and was marked fixed.