Unity is looking for android Keystore from the wrong place?

Hey. After we updated from Unity 2018 to 2021 I can’t get Android builds to work. The issue is that for some reason Unity is trying to search for the keystore from the from location.

The error that I’m getting:
\Library\Bee\Android\Prj\signing\GooglePlay_Distribution.keystore’ not found for signing config ‘release’.

I’ve set a different location in the player settings (as well as FB settings) so I’ve got no clue why this directory is being searched for the keystore. I’m getting same error even if I try to use the debug key by ticking off the “custom keystore” from player settings.
Any ideas?

Maybe you have set this directory in gradle template?

Hey. I’ve just checked all the gradle files and none of them have this directory set up. To add, this directory doesn’t even exist at all. Is there any other places I should try to look from?

Could you attach editor.log, might give more information.

From your first post, it wasn’t clear if the error comes from Editor itself or gradle, since it comes from gradle.

You can simply do this, export gradle project (Export Project option in Builds Settings window), and the simply scan gradle project files for GooglePlay_Distribution.keystore, it’s possible something else is adding this file there.

Did that and all the found references were pointing at the correct directory.

I have also tried to:
Rename main project folder.
Re-generated gradle files.
Generated new keystore (with built in keystore tool) outside of the project folder.
Searched the whole project AND gradle project for they keystore file but they all do point at the right path

Sorry, but I don’t have anything more to suggest, you can try submitting a bug with repro project, so our QA can investigate.