Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Samsung S22 broken with Unity: Not enough storage space to install required resources [100% repro]

Discussion in 'Android' started by noambe, Oct 17, 2022.

  1. noambe

    noambe

    Joined:
    Aug 13, 2014
    Posts:
    32
    I can't seem to be able to install my game on Android Galaxy S22. I am able to install it on other phones such as S20 and Pixels. I have never seen this issue before, and this game is already in the market for 10 years.

    I'm pretty blocked, and I can't tell how many people are affected by this out there, because there is no crash and it won't appear in Google Play crash/ANR reports.

    ###Repro: tried on two separate S22s now:###
    1. install my game on Samsung S22: https://play.google.com/store/apps/details?id=NoamStudios.Games.MegaTicTacToeFree
    1.1 This also repros on a blank new Unity project (if you don't want to install my game).
    2. See that it launches (enough to see the main menu with yellow notebook)
    3. Uninstall it
    4. Try 1+2 again

    I tried:
    Unity 2020/2021 LTS
    Release/Debug builds
    Various compression methods.
    Reboot the phone.

    Here are the logs I see on startup:
    2022-10-16 20:46:23.297 4571-4571 E/pageboostd: Received HALT command code 2
    2022-10-16 20:46:23.299 32634-10735 W/IPM: Failed on setaffinity 22 with 128
    2022-10-16 20:46:23.299 32634-10735 W/IPM: Cluster 2 couldn't perform the setAffinity
    2022-10-16 20:46:23.310 32634-10713 W/GOS:ExternalSdkCore: mIsForeground is false. do nothing.
    2022-10-16 20:46:23.336 2226-5153 W/InputManager-JNI: Input channel object '69ba05e Splash Screen NoamStudios.Games.MegaTicTacToeFree (client)' was disposed without first being removed with the input manager!
    2022-10-16 20:46:23.339 3016-3016 W/Looper: Slow dispatch took 10ms main h=com.android.systemui.statusbar.CommandQueue$H c=null m=3997696
    2022-10-16 20:46:23.348 2226-2288 W/System: A resource failed to call release.
    2022-10-16 20:46:23.348 2226-2288 W/System: A resource failed to call close.
    2022-10-16 20:46:23.348 2226-2288 W/System: A resource failed to call close.
    2022-10-16 20:46:23.382 18705-10755 E/Finsky: [235] gko.a(75): Request execution failed with error code: -2
    com.google.android.finsky.assetmoduleserviceutils.AssetModuleException: Request to PGS failed because all packs are unavailable.
    at fmt.YF(PG:69)
    at frb.l(PG:7)
    at esq.run(PG:5)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8751)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
    2022-10-16 20:46:23.384 10626-10756 E/PlayCore: UID: [10533] PID: [10626] AssetPackServiceImpl : onError(-2)
    2022-10-16 20:46:23.393 18705-10755 E/Finsky: [235] gko.a(75): Request execution failed with error code: -2
    com.google.android.finsky.assetmoduleserviceutils.AssetModuleException: Request to PGS failed because all packs are unavailable.
    at fmt.YF(PG:69)
    at frb.l(PG:7)
    at esq.run(PG:5)
    at android.os.Handler.handleCallback(Handler.java:938)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8751)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
    2022-10-16 20:46:23.395 10626-10756 E/PlayCore: UID: [10533] PID: [10626] AssetPackServiceImpl : onError(-2)
    2022-10-16 20:46:23.407 2226-2358 E/WindowManager: win=Window{69ba05e u0 Splash Screen NoamStudios.Games.MegaTicTacToeFree EXITING} destroySurfaces: appStopped=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5867 com.android.server.wm.ActivityRecord.destroySurfaces:5848 com.android.server.wm.WindowState.onExitAnimationDone:5992 com.android.server.wm.WindowStateAnimator.onAnimationFinished:242 com.android.server.wm.WindowState.onAnimationFinished:6245 com.android.server.wm.WindowContainer$$ExternalSyntheticLambda0.onAnimationFinished:2 com.android.server.wm.SurfaceAnimator.lambda$getFinishedCallback$0$SurfaceAnimator:113
    2022-10-16 20:46:23.491 3682-3848 W/QuickstepModelDelegate: handleUpdate targets : 9
    2022-10-16 20:46:23.494 3682-3682 W/SuggestedAppsViewImpl: pending predictedApps : 9, alpha: 0.0, overview: false
    2022-10-16 20:46:23.544 4689-4689 W/adbd: timeout expired while flushing socket, closing
    2022-10-16 20:46:23.558 3682-3682 W/AppTransitionAnimatorImpl: onAnimationEnd - APP IN, Execution time for each frame : Start-(5)-0-(8)-0-(9)-0-(8)-0-(8)-0-(8)-0-(8)-1-(8)-1-(8)-0-(8)-0-(8)-0-(8)-1-(8)-0-(9)-0-(7)-0-(9)-0-(8)-0-(9)-0-(9)-1-(7)-0-(8)-0-(8)-0-(9)-0-(8)-0-(8)-0-(9)-1-(8)-0-(8)-0-(7)-1-(8)-0-(8)-0-(8)-1-(8)-0-(8)-1-(8)-0-(8)-0-(8)-1-(8)-0-(8)-0-(8)-1-(8)-0-(8)-1-(7)-1-End
    2022-10-16 20:46:23.585 3682-3682 W/LauncherAppWidgetHost: setShouldListenFlag, mFlags:7 flag:start on:false isFront:false
    2022-10-16 20:46:23.586 3682-3682 W/LauncherAppWidgetHost: stopListening, mFlags:2 isFront:false
    2022-10-16 20:46:23.586 3682-3682 W/Launcher.NotificationListener: removeNotificationsChangedListener
    2022-10-16 20:46:23.586 2226-6154 W/InputMethodManagerService: Ignoring hideSoftInput of uid 10143: com.android.internal.view.IInputMethodClient$Stub$Proxy@ea66f95
    2022-10-16 20:46:23.592 2226-6154 E/WindowManager: win=Window{bc1bd48 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity} destroySurfaces: appStopped=true win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:5867 com.android.server.wm.ActivityRecord.destroySurfaces:5848 com.android.server.wm.ActivityRecord.notifyAppStopped:5912 com.android.server.wm.ActivityRecord.activityStopped:6554 com.android.server.wm.ActivityClientController.activityStopped:254 android.app.IActivityClientController$Stub.onTransact:596 com.android.server.wm.ActivityClientController.onTransact:130
    2022-10-16 20:46:23.594 2226-2355 E/Native_CFMS: nativePerfMgrRemoveTask Fail tid : 3682 return : -1
    2022-10-16 20:46:23.620 3016-3016 W/Looper: Slow dispatch took 20ms main h=android.view.Choreographer$FrameHandler c=android.view.Choreographer$FrameDisplayEventReceiver@b537db1 m=0
    2022-10-16 20:46:23.620 3016-3016 W/Looper: Slow delivery took 20ms main h=android.os.Handler c=null m=18
    2022-10-16 20:46:23.637 3016-3016 W/Looper: Drained
    2022-10-16 20:46:24.646 7209-10767 W/mig.skye.proc: Accessing hidden field Ljavax/net/ssl/SSLContext;->contextSpi:Ljavax/net/ssl/SSLContextSpi; (max-target-o, reflection, denied)
     

    Attached Files:

    Last edited: Nov 17, 2022
  2. florinel2102

    florinel2102

    Joined:
    May 21, 2019
    Posts:
    75
    Make sure to enable arm7 and armv64 .
     
  3. noambe

    noambe

    Joined:
    Aug 13, 2014
    Posts:
    32
    Just tried. doesn't work.

    This is a problem specific to S22. I was able to repro on two separate S22s so far, even with an empty new Unity project.
    I wonder how I can escalate this to more Unity engs?

    Thanks,
    Noam
     
  4. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    190
    Hi,
    If your bug is reproducible even on an empty project, you might send a bug report.
     
  5. noambe

    noambe

    Joined:
    Aug 13, 2014
    Posts:
    32
    Hi, I thought that this is a bug report. It indeed repro's on any Unity project so I think it's a global problem. Is there anything else I should do to raise the awareness of it?
    I repro'ed this on 4 different S22s so far.

    Thanks,
    Noam
     
  6. BBO_Lagoon

    BBO_Lagoon

    Joined:
    Mar 2, 2017
    Posts:
    190
    To submit a bug report, open your project in Unity then -> Help/Report a Bug...
    Once the bug submitted, Unity team could look at this and keep track of it.
     
  7. noambe

    noambe

    Joined:
    Aug 13, 2014
    Posts:
    32
    I filed a bug in Unity, and also opened a ticket in Samsung Members.