Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On mobile devices with adaptive refresh rates, when the screen refresh rate jumps from 60hz to 120hz, the animation will suddenly speed up / 在自适应刷新率的移动设备上,屏幕刷新率从60hz跳变到120hz时,动画会突然加速 #17762

Open
LuoLuoDev opened this issue Oct 22, 2024 · 2 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@LuoLuoDev
Copy link

LuoLuoDev commented Oct 22, 2024

Cocos Creator version

3.7.2, 3.8.3

System information

Android(支持自适应刷新率的设备)

Android (devices that support adaptive refresh rate)

Issue description

On a mobile device with an adaptive refresh rate, when the screen refresh rate jumps from 60hz to 120hz, the animation will suddenly speed up, as shown in the screen recording below.

在自适应刷新率的移动设备上,屏幕刷新率从60hz跳变到120hz时,动画会突然加速,录屏如下。

IMG_2540_480p.mov

Relevant error log output

No error log output

无异常日志输出

Steps to reproduce

  1. Edit any animation, for example: use Tween to manipulate nodes to animate on the screen
  2. Run the scene on an Android mobile device
  3. Observe the screen refresh rate of the mobile device until it drops to 60hz
  4. Touch the screen and you can see that the device screen refresh rate increases to 120hz, and the animation will suddenly speed up as you can see with your naked eyes

1.编辑任意动画,比如:使用Tween操控节点在屏幕上做动画
2.在Android移动设备上跑起场景
3.观察移动设备的屏幕刷新率,待屏幕刷新率降到60hz
4.触摸一下屏幕,可以看到设备屏幕刷新率增加到120hz,同时肉眼可看到动画会突然加速一下

Minimal reproduction project

use_any_test.zip

@LuoLuoDev LuoLuoDev added Bug Needs Triage Needs to be assigned by the team labels Oct 22, 2024
@longchuan
Copy link
Contributor

原理就是update被加速了,而且你的视频应该带上调试信息

@LuoLuoDev
Copy link
Author

Updated screen recording with debug information

更新带有 debug 信息的录屏

940c6f72c953005fbacc29193ce2ad99.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

3 participants