Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(version upgrade) #318

Open
zhanglubin12345 opened this issue Dec 15, 2023 · 7 comments
Open

bug(version upgrade) #318

zhanglubin12345 opened this issue Dec 15, 2023 · 7 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@zhanglubin12345
Copy link

MAX Plugin Version

6.1.1

Unity Version

2022.3.14f1

Device/Platform Info

android platform

Current Behavior

We are currently using version 5.10.1. After upgrading the AppLovin version to 6.1.1 and then building, the following error occurs, causing the build to be unsuccessful:

GooglePlayServices.CommandLineDialog must be instantiated using the ScriptableObject.CreateInstance method instead of new CommandLineDialog.

Expected Behavior

No response

How to Reproduce

just build

Additional Info

No response

@zhanglubin12345 zhanglubin12345 added the bug Something isn't working label Dec 15, 2023
@zhanglubin12345
Copy link
Author

Moreover, after the version upgrade, when performing a force resolve, many duplicate plugins appear.

@zhanglubin12345
Copy link
Author

After I cleared the cache, it no longer generates duplicate plugins, but Resolving Android Dependencies stuck at 100%

@zhanglubin12345
Copy link
Author

May I ask if you have identified where the problem is?
Although we can continue to use version 5.10.1 of the plugin, it seems that this version has some bugs, so we want to upgrade it to the latest version. However, as mentioned before, as soon as we upgrade to the latest version and then building, the following error occurs, causing the build to be unsuccessful:

GooglePlayServices.CommandLineDialog must be instantiated using the ScriptableObject.CreateInstance method instead of new CommandLineDialog.

Moreover, when I run the Android Resolver, it gets stuck at 100% and doesn't finish.
We hope to find the cause and solve it as soon as possible.

@abogarsukov-braingames
Copy link

abogarsukov-braingames commented Dec 18, 2023

Moreover, when I run the Android Resolver, it gets stuck at 100% and doesn't finish.

We have this problem too after the upgrade.

Update: I was able to pinpoint the issue to UnityAds mediation adapter. Its latest version causes resolution issue on Android. Reverting it to earlier version fixed the issue for us.

Similar issue is reported on Unity forums:
https://forum.unity.com/threads/dependency-resolution-issues-with-applovin-and-unityad-adapter.1518499/

Update2: Latest version of AdMob/AdManager also adds resolution issues. Have to revert them too. Please look into it.

@mbadrala
Copy link

After I cleared the cache, it no longer generates duplicate plugins, but Resolving Android Dependencies stuck at 100%

How do you clear the cache?

@zhanglubin12345
Copy link
Author

After I cleared the cache, it no longer generates duplicate plugins, but Resolving Android Dependencies stuck at 100%

How do you clear the cache?

delete library folder

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

5 participants