I was using Unity 3D 2018. But 2018 doesn’t support android sdk api 29. because of that i upgraded my version to 2019.2.9f1
I created my project in 2018 version. and now, i’m using 2019 version for my project.
my problem started after the update. game closes after the splash screen. i’ve been trying for a long day for fix this problem.
i tried those things;
*il2cpp and mono both of them doesn’t help. problem is not because of the il2cpp. (all the internet are saying because of il2cpp but not for me, mono doesn’t work to)
*trying android backup to false (with android manifest file)
*trying update all assets
i tried everything i saw in the internet. but nothing works. please help me.
What does logcat / the andorid log says when the application is exiting unexpected?
Mauri
October 24, 2019, 3:14pm
3
It may help to take a look at the log files. More information about them - and how to access them - here: Unity - Manual: Log files
10-24 22:12:28.810: D/Launcher.CellLayout(2146): touch item:ShortcutInfo, id=246, itemType=0, user=UserHandle{0}, mIconType=0, mTitle=Şahin Uzayda, mLabel=Şahin Uzayda, pkgName=com.DeviserSoft.SahinUzayda, className=com.unity3d.player.UnityPlayerActivity, screenId=6, container=-100, cellX=1, cellY=0, spanX=1, spanY=1, isLandscapePos=false
10-24 22:12:28.926: I/Timeline(2146): Timeline: Activity_launch_request time:15228423 intent:Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity bnds=[331,101][499,269] (has extras) }
10-24 22:12:28.929: I/ActivityManager(1663): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity bnds=[331,101][499,269] (has extras)} from uid 10028 on display 0
10-24 22:12:28.937: I/ANDR-IOP(1663): MIUI-IOP pkg_name = com.DeviserSoft.SahinUzayda PID = -1
10-24 22:12:28.959: I/ActivityManager(1663): Start proc 22887:com.DeviserSoft.SahinUzayda/u0a241 for activity com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity caller=com.miui.home
10-24 22:12:28.960: D/PowerKeeper.Event(3220): notifyAMProcStart processName: 10241 reason: com.DeviserSoft.SahinUzayda, pid:0
10-24 22:12:28.960: I/ANDR-IOP(1663): MIUI-IOP pkg_name = com.DeviserSoft.SahinUzayda PID = 22887
10-24 22:12:29.048: D/GameBoosterService(2606): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.DeviserSoft.SahinUzayda', mForegroundUid=10241, mForegroundPid=22887, mLastForegroundPackageName='com.miui.home', mLastForegroundUid=10028, mLastForegroundPid=2146, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=1}
10-24 22:12:29.133: D/AccessibilityManager(22887): current package=com.DeviserSoft.SahinUzayda, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=false, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
10-24 22:12:29.264: I/ActivityManager(1663): Displayed com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity: +317ms
10-24 22:12:29.265: I/Timeline(1663): Timeline: Activity_windows_visible id: ActivityRecord{216ffa0 u0 com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity t136} time:15228762
10-24 22:12:29.265: D/PowerKeeper.Event(3220): notifyActivityLaunchTime: com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity totalTime: 317
10-24 22:12:29.273: I/Unity(22887): ApplicationInfo com.DeviserSoft.SahinUzayda version 2.5 build 0682396a-d6c8-44ad-b159-8749835ed3df
10-24 22:12:29.280: I/WindowManager(1663): Destroying surface Surface(name=Starting com.DeviserSoft.SahinUzayda) called by com.android.server.wm.WindowStateAnimator.destroySurface:2045 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:897 com.android.server.wm.WindowState.removeLocked:1460 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2635 com.android.server.wm.WindowManagerService.removeWindowLocked:2593 com.android.server.wm.WindowManagerService.removeWindowLocked:2462 com.android.server.wm.WindowManagerService.removeWindow:2457 com.android.server.wm.Session.remove:202
10-24 22:12:29.295: I/WindowManager(1663): Screen frozen for +329ms due to Window{288d3f7 u0 Starting com.DeviserSoft.SahinUzayda}
10-24 22:12:32.156: E/AndroidRuntime(22887): Process: com.DeviserSoft.SahinUzayda, PID: 22887
10-24 22:12:32.163: W/ActivityManager(1663): Force finishing activity com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity
10-24 22:12:32.238: I/WindowManager(1663): WIN DEATH: Window{fd0a70b u0 com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity}
10-24 22:12:32.238: I/ActivityManager(1663): Process com.DeviserSoft.SahinUzayda (pid 22887) has died: vis +99T
10-24 22:12:32.238: W/WindowManager(1663): Force-removing child win Window{203d6b5 u0 SurfaceView - com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity} from container Window{fd0a70b u0 com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity}
10-24 22:12:32.238: I/WindowManager(1663): Destroying surface Surface(name=SurfaceView - com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2045 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:897 com.android.server.wm.WindowState.removeLocked:1460 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2635 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2614 com.android.server.wm.WindowManagerService.removeWindowLocked:2593 com.android.server.wm.WindowState$DeathRecipient.binderDied:1791 android.os.BinderProxy.sendDeathNotice:701
10-24 22:12:32.239: D/PowerKeeper.Event(3220): notifyAMProcDied pacakageName: com.DeviserSoft.SahinUzayda, pid:22887
10-24 22:12:32.241: I/WindowManager(1663): Destroying surface Surface(name=com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2045 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:897 com.android.server.wm.WindowState.removeLocked:1460 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2635 com.android.server.wm.WindowManagerService.removeWindowLocked:2593 com.android.server.wm.WindowState$DeathRecipient.binderDied:1791 android.os.BinderProxy.sendDeathNotice:701 <bottom of call stack>
10-24 22:12:32.315: D/GameBoosterService(2606): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10028, mForegroundPid=2146, mLastForegroundPackageName='com.DeviserSoft.SahinUzayda', mLastForegroundUid=10241, mLastForegroundPid=22887, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
This log is coming after closes
10-24 22:17:04.699: E/AndroidRuntime(23462): Process: com.DeviserSoft.SahinUzayda, PID: 23462
10-24 22:17:04.708: W/ActivityManager(1663): Force finishing activity com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity
10-24 22:17:04.786: I/WindowManager(1663): WIN DEATH: Window{7f6e45f u0 com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity}
10-24 22:17:04.786: W/WindowManager(1663): Force-removing child win Window{e4e051e u0 SurfaceView - com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity} from container Window{7f6e45f u0 com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity}
10-24 22:17:04.786: I/WindowManager(1663): Destroying surface Surface(name=SurfaceView - com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2045 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:897 com.android.server.wm.WindowState.removeLocked:1460 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2635 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2614 com.android.server.wm.WindowManagerService.removeWindowLocked:2593 com.android.server.wm.WindowState$DeathRecipient.binderDied:1791 android.os.BinderProxy.sendDeathNotice:701
10-24 22:17:04.786: I/ActivityManager(1663): Process com.DeviserSoft.SahinUzayda (pid 23462) has died: vis +99T
10-24 22:17:04.788: D/PowerKeeper.Event(3220): notifyAMProcDied pacakageName: com.DeviserSoft.SahinUzayda, pid:23462
10-24 22:17:04.789: I/WindowManager(1663): Destroying surface Surface(name=com.DeviserSoft.SahinUzayda/com.unity3d.player.UnityPlayerActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2045 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:897 com.android.server.wm.WindowState.removeLocked:1460 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2635 com.android.server.wm.WindowManagerService.removeWindowLocked:2593 com.android.server.wm.WindowState$DeathRecipient.binderDied:1791 android.os.BinderProxy.sendDeathNotice:701 <bottom of call stack>
10-24 22:17:04.874: D/GameBoosterService(2606): onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10028, mForegroundPid=2146, mLastForegroundPackageName='com.DeviserSoft.SahinUzayda', mLastForegroundUid=10241, mLastForegroundPid=23462, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
empty unity project is working on the phone. but my project does’nt work. my app was working before the update. (unity 2019.2.9f1)