Android Build is Closed at the very first launch after installing using Development Mode

I used Raw Project with Unity 6000.1.5 and the Development Build option checked.

Without Development Build checked, it launches fine; but with the checked option, it launches normally starting from 2nd launch.

Other Environment:

  • MacBook Air M2
  • Samsung Galaxy A71
  • Android 13

Log:

06-04 16:58:58.584 27818 27818 I Unity   : applyWindowUIChanges fullScreen = true, renderOutsideSafeArea = true
06-04 16:58:58.606 27818 27818 V Unity   : Context Type: GameActivity
06-04 16:58:58.607 27818 27818 D Unity   : CommandLine:  
06-04 16:58:58.628 27818 27839 I Unity   : UnityApplication::CreateInstance
06-04 16:58:58.628 27818 27839 I Unity   : GameActivity Package Version '3.0.5'
06-04 16:58:58.628 27818 27839 I Unity   : Starting Game Loop
06-04 16:58:58.652 27818 27839 I Unity   : Handle cmd APP_CMD_START(11)
06-04 16:58:58.654 27818 27818 I Unity   : onResume
06-04 16:58:58.658 27818 27839 I Unity   : Handle cmd APP_CMD_RESUME(12)
06-04 16:58:58.681 27818 27818 I Unity   : onPause
06-04 16:58:58.683 27818 27818 I Unity   : pauseUnity
06-04 16:58:58.684 27818 27839 I Unity   : Handle cmd APP_CMD_PAUSE(14)
06-04 16:58:58.685 27818 27839 I Unity   : Handle cmd APP_CMD_STOP(15)
06-04 16:58:58.686 27818 27839 I Unity   : Handle cmd APP_CMD_SAVE_STATE(13)
06-04 16:58:58.687 27818 27818 I Unity   : onDestroy
06-04 16:58:58.689 27818 27839 I Unity   : Handle cmd APP_CMD_DESTROY(16)
06-04 16:58:58.689 27818 27839 I Unity   : UnityApplication::DestroyInstance
06-04 16:58:58.689 27818 27839 I Unity   : No leftover JNI Proxy objects detected
06-04 16:58:58.689 27818 27839 I Unity   : Quitting process

How to reproduce:

  1. Open Project for Android Target Platform.
  2. Build & Run with Development Build checked.
  3. See that for the 1st time, the app on Android is closed immediately after launch.

Try switching to Activity in Player Settings->Android->Application Entry.

I Created a bug Report: IN-104383