Build and run don't work after Unity update

Hi. I’m having a problem with my unity project and I can’t figure it out. I updated my Unity project from version 2021.3.6 f1 to version 2022.3.17 f1. Everything seems to have been done correctly but I have a significant problem. If I try to use build and run I get an error when Unity tries to install the .aab file on the device. I carried out a further test, using the build function, the .aab file is generated correctly, but by loading it on the play store (internal tests) if I install the game, it is not possible to start it in any way despite it being correctly installed. I attach the error code I receive in the Unity console, hoping that someone with more experience can help me. Thank you all for the help.

I add: The project was correctly built in the 2021 version and currently the public version on the PlayStore works without problems, in the transition to the 2022 version, I did not change anything, except what unity modified independently. AdMob, Firebase, Unity IAP packages are included in the project.

Can you try exporting a gradle project and running your application from Android Studio?

Hi Tomas, I have finally solved the problem. It was necessary to recreate a new manifest and add the various permissions again. For some reason, unknown to me, the old manifest didn’t want to work.
Thanks for the tip, from Android studio I had an error of the “main activity” so I was sure that the problem was in the manifest

1 Like