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:
- shot bullet
- bullet appear in scene and search the reference for player2
- 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.