-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
iOS LatencyMillis value is wrong #2801
Comments
latency type cast cause this result in file Plugins/iOS/GADUInterface.m
in file Platforms/iOS/AdapterResponseInfoClient.cs
|
Confirmed the issue with incorrect Latency on iOS. I will push for a fix. |
PiperOrigin-RevId: 544436542
PiperOrigin-RevId: 544436542
PiperOrigin-RevId: 544743609
!!!The lasted update did not fix latency value.!!! In file Plugins/iOS/GADUInterface.m, the type of info.latency is double, just return the original double value.
In file Platforms/iOS/Externs.cs, change the return value to double.
In file Platforms/iOS/AdapterResponseInfoClient.cs, declare latency as double.
Those change will fix the incorrect latency value. |
Thank you @chengwenpo We will take another look. |
Hi, I'm getting a null reference exception for the same API on IOS. Unity version: 2022.3.21f1 (but occurs when using other editor versions as well)
_client could be the cause of the issue |
Thanks, We are looking into this now. |
Fixed in latest. |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
LatencyMillis from Platforms/iOS/AdapterResponseInfoClient.cs return wrong value, such as -9.22337e+18
Steps to reproduce:
1.Open unity sample project HelloWorld
2.Add log to print LatencyMillis
3.Build iOS project
4.Build and run xcode project in iOS device
Relevant Code:
The text was updated successfully, but these errors were encountered: