AAB file exported game don't work correctly, but APK or Unity Editor works fine

Hi, i just finished my game, I tested out in Editor Unity and it works, I exported the game in APK to test it in my phone, also works.
Then I exported in AAB format, upload it to Internal Testing on play console and is not working correctly. (there is no crash or bug, nothing)

Playing the game I noticed that player2 when is supposed to invert his movement is not doing anything, I hear the SFX, but never is inverting the movement because of the powerup. and this only happen in AAB file.
In Unity, on emulator, and APK in mobile works fine.

I only use 3 plugins:

  • GooglePlayGamesPlugin-0.11.01.unitypackage
  • com.google.play.core-1.8.2.unitypackage
  • com.google.play.review-1.8.1.unitypackage

I don’t know if plugins could be the fault but the logic behind this is:

  1. shot bullet
  2. bullet appear in scene and search the reference for player2
  3. if bullet collide with player2 call method from player2 to start a coroutine of inverted movement that last 7 seconds. after 7 seconds it goes back to normal movement.

And, that’s it, but for some reason on AAB file don’t work, is triggered because the SFX of that method is triggered, but the movement is never inverted)

I even upgraded my Unity from 2020.3 to 2021.3 to try something new, but still the same.

I can show my issue via streaming on discord just PM me and I will give you my discord profile so we can watch it together.

Player 2 never really inverts his movement when the powerup prompts him to do so; I hear the sound effect, but nothing ever happens. and it’s unique to the AAB file format. All is well with Unity on the emulator and the mobile app on the APK. drift hunters

Experiencing the same issue, The aab file has major issues but the apk or editor works completely fine. One thing is that we are using the same plugins as you, trying with the Unity normal build, will update.

Update: No difference, Minify was something people said could be causing the issue so we are trying with that disabled.