playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 953 forks source link

Build failure when upgrading Unity 2020.03 -> 2022.03 #3260

Open moldovev opened 10 months ago

moldovev commented 10 months ago

Hi,

I have just updated from unity 2020.03.47 to 2022.03.06 and facing a build error

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 D:\Working Area\Project001\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\src\main\AndroidManifest.xml:25:13-41 Error: Attribute meta-data#com.google.android.gms.games.unityVersion@value value=(\u0030.10.14) from [:unityLibrary:GooglePlayGamesManifest.androidlib] AndroidManifest.xml:25:13-41 is also present at [:unityLibrary:GooglePlayGamesManifest.plugin] AndroidManifest.xml:25:13-41 value=(\u0030.10.12). Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:23:9-25:44 to override.

I am using GPGS Plugin version 0.10.12

It all worked ok on the 2020 version but I am stuck with the build for 2022. Can you please advise what to do? (with stupid-proof instructions if possible)

moldovev commented 9 months ago

can be closed, issue was on my side; did cleanup in plugins and its fixed.