unity – Inconsistent body fee (45 – 60 fps)


I’ve construct a sport, that ought to run on 60 fps continually. Nevertheless, the sport fps swings between round 45 to 60 fps, principally within the decrease 50s. This does not have any affect on the sport, nonetheless I ponder why this occurs.

I take advantage of 1/Time.deltaTime to get the body fee and flooring it to show complete numbers.

I take advantage of a regular URP, no put up processing.

Within the editor it exhibits fixed 60 fps, not often dropping under 58, however on construct (Samsung Galaxy A 40) the bizarre behaviour happens.

Edit:

I attempted construct and working the sport on cell as written on the web site, nonetheless I et the next error:

System.Exception: apkanalyzer did not estimate the apk dimension. Output:
Fehler: Hauptklasse FilesUnityHubEditor2022.3.45f1EditorDataPlaybackEnginesAndroidPlayerSDKcmdline-tools6.0bin.. konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: FilesUnityHubEditor2022/3/45f1EditorDataPlaybackEnginesAndroidPlayerSDKcmdline-tools6/0bin//

 

  at Unity.BuildReportInspector.Cellular.AndroidUtilities.GetApkDownloadSize (System.String applicationPath) [0x001b8] in .LibraryPackageCache[email protected]EditorMobileAndroidUtilities.cs:256 
  at Unity.BuildReportInspector.Cellular.AndroidUtilities.GetArchitectureInfo (System.String applicationPath) [0x000ca] in .LibraryPackageCache[email protected]EditorMobileAndroidUtilities.cs:128 
  at Unity.BuildReportInspector.Cellular.MobileAppendix..ctor (System.String applicationPath) [0x000ad] in .LibraryPackageCache[email protected]EditorMobileMobileAppendix.cs:90 
  at Unity.BuildReportInspector.Cellular.MobileHelper.GenerateMobileAppendix (System.String applicationPath, System.String guid) [0x00017] in .LibraryPackageCache[email protected]EditorMobileMobileHelper.cs:77 
UnityEngine.Debug:LogError (object)
Unity.BuildReportInspector.Cellular.MobileHelper:GenerateMobileAppendix (string,string) (at ./Library/PackageCache/[email protected]/Editor/Cellular/MobileHelper.cs:83)
Unity.BuildReportInspector.Cellular.MobileHelper:GenerateAndroidAppendix (string,string) (at ./Library/PackageCache/[email protected]/Editor/Cellular/MobileHelper.cs:27)
Unity.BuildReportInspector.Cellular.PostBuildSetup:BuildPostProcess (UnityEditor.BuildTarget,string) (at ./Library/PackageCache/[email protected]/Editor/Cellular/PostBuildSetup.cs:44)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Error constructing Participant: System.Exception: apkanalyzer did not estimate the apk dimension. Output:
Fehler: Hauptklasse FilesUnityHubEditor2022.3.45f1EditorDataPlaybackEnginesAndroidPlayerSDKcmdline-tools6.0bin.. konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: FilesUnityHubEditor2022/3/45f1EditorDataPlaybackEnginesAndroidPlayerSDKcmdline-tools6/0bin//

 

  at Unity.BuildReportInspector.Cellular.AndroidUtilities.GetApkDownloadSize (System.String applicationPath) [0x001b8] in .LibraryPackageCache[email protected]EditorMobileAndroidUtilities.cs:256 
  at Unity.BuildReportInspector.Cellular.AndroidUtilities.GetArchitectureInfo (System.String applicationPath) [0x000ca] in .LibraryPackageCache[email protected]EditorMobileAndroidUtilities.cs:128 
  at Unity.BuildReportInspector.Cellular.MobileAppendix..ctor (System.String applicationPath) [0x000ad] in .LibraryPackageCache[email protected]EditorMobileMobileAppendix.cs:90 
  at Unity.BuildReportInspector.Cellular.MobileHelper.GenerateMobileAppendix (System.String applicationPath, System.String guid) [0x00017] in .LibraryPackageCache[email protected]EditorMobileMobileHelper.cs:77 

Construct accomplished with a results of 'Failed' in 253 seconds (252908 ms)
2 errors
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles