Rotation speed different on mobile

I have an object that rotates around itself. I did use deltaTime
But the rotation speed very slow on android (I have a huawei P smart pro 2019) and I also tried a fixed fps on editor (target : 24) it is still good on editor but slow on build. It is also okey on device simulator

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BulletRotater : MonoBehaviour
{
    public bool onMove = true;

    private Vector3 rotateVector;
    public Vector3 startPos;
   
    // Start is called before the first frame update
    void Start()
    {
        rotateVector = new Vector3(0, 0, 1);
        startPos = transform.localPosition;
    }

    // Update is called once per frame
    void Update()
    {
       if (onMove)
       {
           Vector3 rot = rotateVector * Time.deltaTime * 1250.0f;
           transform.Rotate(rot,Space.Self);
        }
       
    }

 

   
}

I’m having the same problem, here’s a response i got when i asked ChatGPT about it:

This problem can be caused by several factors, including differences in the hardware and software between your development environment and your target devices. Here are some steps you can try to resolve this issue:

  • Frame rate: Check the frame rate on your device to ensure that it is stable and consistent with your development environment. If the frame rate is low on the device, it can cause slowdowns in your game.

  • Time Scale: Check the time scale of your game. If the time scale is set too low, it can cause slowdowns in your game.

  • FixedUpdate(): If you are using the FixedUpdate() method to handle physics updates, consider using the Update() method instead. FixedUpdate() is called at a fixed interval, which can cause slowdowns in your game.

  • Optimize code: Optimize your code to reduce the number of calculations and memory usage. This can help improve the performance of your game on mobile devices.

  • GPU Performance: Ensure that the GPU performance is optimized for your target devices. This can help ensure that your game runs smoothly on these devices.

  • Testing: Test your game on multiple devices to get a better understanding of the performance and to identify any issues that may be specific to a particular device.