Unity crashes when I build it on Android and boot it on a real machine.

Asked 1 years ago, Updated 1 years ago, 73 views

Unity releases apps to AppleStore and GooglePlay.
After building it on Android suddenly, it crashes when I start it on the actual machine, and it falls off right away.
Below is the crash log filtered by adbl logcat.

--------- starting of system
--------- starting of main
E/AudioPolicyManager (447): getDeviceForStategy() earpiece device not found
E/AudioPolicyManager (447): getDeviceForStategy() earpiece device not found
E/Vold(236): Failed to find mounted volume for /storage/sdcard1/Android/data/com.hoge.app/files/
E/SQLiteLog(18858): (283) recovered 22 frames from WAL file/data/data/com.hoge.app/databases/androidx.workdb-wal
E/WindowManager (1012): Performed 6 layouts in a row.Skipping
E/Vold(236): Failed to find mounted volume for /storage/sdcard1/Android/data/com.hoge.app/files/
E/Vold(236): Failed to find mounted volume for /storage/sdcard1/Android/obb/com.hoge.app/
E/SQLiteLog(5473): (2067) abort at 36 in [INSERT INTO pending_ops(service_kind, source, tag, requirements_charging, target_package, source_version, required_network_type, flex_time, persistence_level, target_class, runtime, retry_preference, rate_previous,
E/CRASH (18858): **************************************************************************************
E/CRASH (18858): Version '2020.3.32 f1 (12f8b0834f07)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'armeabi-v7a'
E/CRASH(18858): Build fingerprint: 'KDDI/KYV34_jp_kdi/KYV34: 5.1/104.1.2940/104.1.2940: user/release-keys'
E/CRASH(18858):Revision: '0'
E/CRASH (18858):ABI: 'arm'
E/CRASH (18858): Timestamp: 2022-06-0100:00:53 + 0900
E/CRASH(18858):pid:18858, tid:18915, name: UnityMain>>com.hoge.app>>com.hoge.app

Please let me know if you know that it can be a clue to the cause of the crash or a solution.Thank you.
By the way, I have recently changed from PCiMac 2012 to MacbookPro 2015.And then it crashed, so I think it's related.

c# android unity3d unity2d

2022-09-30 15:49

1 Answers

I created a new project, moved the file to it, and built it, and it was fixed.I don't know the cause of the crash, but I'm glad it's solved.


2022-09-30 15:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.