play-games-plugin-for-unity
play-games-plugin-for-unity copied to clipboard
Error building AAB with API 33
Describe the bug Error when try to build the game in AAB format for google playstore with target API 33. If I try to build it on 32 it works, only happens for API 33. I think it is because the dependencies are compiled with JAVA higher than 8, but Unity 2020.3 I have use JAVA 8 and for that can't process the dependencies.
To Reproduce Steps to reproduce the behavior:
- Use Unity 2020.3.27f1
- Install - GooglePlayGamesPlugin-0.11.01.unitypackage
- Install - com.google.play.core-1.8.1.unitypackage
- Install - com.google.play.review-1.8.1.unitypackage
- Select Target API 33
- Build AAB format
Expected behavior Is supposed to build the AAB file.
Observed behavior Only happens for API 33 in format AAB (I can normally build as APK)
Bug Report
Execution failed for task ':launcher:minifyReleaseWithProguard'. > java.io.IOException: Can't read [C:\Program Files\Unity\2020.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-33\optional\android.car.jar] (Can't process class [android/car/Car$CarServiceLifecycleListener.class] (Unsupported version number [55.0] (maximum 54.0, Java 10)))
Versions
- Unity version: 2020.3.27f1
- Google Play Games Plugin for Unity version: 0.11.01
Additional context For what I found on internet , I understand Unity works with JAVA 8 and more recent version 2022.2 has JAVA 11. So people who want to build Android games with target API 33 that is a MUST from google. they need to update their Unity version to 2022.2 There is no other way to build to 33 without updating ? I refuse to think that... because that will mean that all older LTS versions are uselsess to export for API 33 that will be a MUST in 5 months. So upgrading to 2022.2 version that is not LTS is not good choice.. also what about devs who are mid project who developed the game like 2 years with 2020 ? I attach also the link I posted on Unity forums.