Hello,
I am trying to integrate Android Performace Tuner into my game using unity 3d engine.
I have followed all the steps of the codelab, but I cannot send the reports.
I have make sure before:
- Use a version higher than unity 2019.3.14.
- Use a higher version .NET version 4.X.
- Enable frame pacing.
- Use the most recent version of Android Performance Tuner specifically: "Android Performance Tuner Unity v1.5.0 (2022-02-10)".
- Internet Access Requires.
- I have created an API KEY in our Cloud Google project for this service and i have done it as commented in the guides.
Errors:
2022-02-11 10:26:25.954 16358-16451/? I/TuningFork: Got settings from tuningfork/tuningfork_settings.bin
2022-02-11 10:26:25.954 16358-16451/? I/TuningFork: Using local file cache at /data/user/0/MyAppPackageName/cache/tuningfork
2022-02-11 10:26:25.956 16358-16451/? I/TuningForkUtils: OpenGL version 3.2
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: TuningFork.GoogleEndpoint: OK
2022-02-11 10:26:25.962 16358-16451/? E/TuningFork: Could not open /proc/0/status
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: TuningFork Settings:
method: 1
interval: 30000
n_ikeys: 4
n_annotations: 1
n_histograms: 4
base_uri: https://performanceparameters.googleapis.com/v1/
api_key: hide
fp filename: dev_tuningfork_fidelityparams_1.bin
itimeout: 1000
utimeout: 100000
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: Settings::Histograms
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: ikey: 64000 min: 6.540000 max: 60.000000 nbkts: 200
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: ikey: 64001 min: 10.000000 max: 40.000000 nbkts: 30
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: ikey: 64003 min: 0.000000 max: 20.000000 nbkts: 30
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: ikey: 64002 min: 0.000000 max: 20.000000 nbkts: 30
2022-02-11 10:26:25.962 16358-16451/? I/TuningFork: Got PAUSED histograms: {"name": "applications/MyAppPackageName/apks/20300", "session_context": {"device": {"brand": "OPPO", "build_version": "30", "cpu_core_freqs_hz": [2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2200000000, 2200000000], "device": "OP4B65L1", "fingerprint": "OPPO/CPH1951EEA/OP4B65L1:11/RP1A.200720.011/1638281965681:user/release-keys", "gles_version": {"major": 3, "minor": 2}, "model": "CPH1951", "product": "CPH1951EEA", "soc_manufacturer": "", "soc_model": "", "swap_total_bytes": 4294963200, "total_memory_bytes": 7978815488}, "game_sdk_info": {"session_id": "b1b659f2-517f-4164-8fe4-eca87d8ad506", "swappy_version": "1.3.0", "version": "1.5.0"}, "time_period": {"end_time": "2022-02-11T09:23:28.034969Z", "start_time": "2022-02-11T09:20:28.043513Z"}}, "telemetry": [{"context": {"annotations": "CAM=", "duration": "179.991456318s", "tuning_parameters": {"experiment_id": "", "serialized_fidelity_parameters": ""}}, "report": {"battery": {"battery_event": [{"app_on_foreg
2022-02-11 10:26:25.963 16358-16451/? I/TuningFork: Deserializing saved session
2022-02-11 10:26:25.963 16358-16451/? I/TuningFork: TuningFork initialized
2022-02-11 10:26:25.976 16358-16648/? E/TuningFork: Could not open /proc/0/oom_score
2022-02-11 10:26:55.980 16358-16647/? W/TuningFork.GE: Error 35 when sending UPLOAD request
{"name": "applications/MyAppPackageName/apks/20300", "session_context": {"crash_reports": [{"crash_reason": 0, "session_id": "b1b659f2-517f-4164-8fe4-eca87d8ad506"}], "device": {"brand": "OPPO", "build_version": "30", "cpu_core_freqs_hz": [2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2000000000, 2200000000, 2200000000], "device": "OP4B65L1", "fingerprint": "OPPO/CPH1951EEA/OP4B65L1:11/RP1A.200720.011/1638281965681:user/release-keys", "gles_version": {"major": 3, "minor": 2}, "model": "CPH1951", "product": "CPH1951EEA", "soc_manufacturer": "", "soc_model": "", "swap_total_bytes": 4294963200, "total_memory_bytes": 7978815488}, "game_sdk_info": {"session_id": "8472e944-ff9d-467f-a091-0786d57df4a5", "swappy_version": "1.3.0", "version": "1.5.0"}, "time_period": {"end_time": "2022-02-11T09:26:55.953760Z", "start_time": "2022-02-11T09:26:26.339386Z"}}, "telemetry": [{"context": {"annotations": "", "duration": "5.875865847s", "tuning_parameters": {"experiment_id
The errors i mainly see are:
2022-02-11 10:26:25.962 16358-16451/? E/TuningFork: Could not open /proc/0/status
2022-02-11 10:26:25.976 16358-16648/? E/TuningFork: Could not open /proc/0/oom_score
2022-02-11 10:26:55.980 16358-16647/? W/TuningFork.GE: Error 35 when sending UPLOAD request
What could be wrong?
Regards