You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeated calls to scheduleOnce and unschedule significantly increase the likelihood of scheduleOnce no longer triggering. I modified the scheduleOnce function in the engine's source file components.ts to fire on the next frame, which currently resolves this issue. However, I'm unsure if this modification may lead to other problems.
Cocos Creator version
3.8.0
System information
web windows
Issue description
Repeated calls to scheduleOnce and unschedule significantly increase the likelihood of scheduleOnce no longer triggering. I modified the scheduleOnce function in the engine's source file components.ts to fire on the next frame, which currently resolves this issue. However, I'm unsure if this modification may lead to other problems.
Relevant error log output
No
Steps to reproduce
.
Minimal reproduction project
ScheduleOnceBugDemo.zip
The text was updated successfully, but these errors were encountered: