-
Notifications
You must be signed in to change notification settings - Fork 361
[Bug] Building an Android project in Unity 2021.2.0b1 (beta) may cause a runtime exception in the Unity Editor when looking up GetApplicationIdentifier in UnityCompat.cs. #447
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
Comments
Yeah this is the same problem I reported last week at #440 |
I created a PR that may fix it: #449 |
Reopen the bug until we check the PR #449 |
chkuang-g
added a commit
that referenced
this issue
Jun 30, 2021
- Version 1.2.166 - Jun 30, 2021 * All - Fixed #440 and fixed #447 by specifying the parameter type while calling `GetApplicationIdentifier()` Unity API using reflection, due to a new overloaded method introduced in Unity 2021.2. * Android Resolver - Fixed #442 by patching `Dependency.IsGreater()` when the version strings end '+'. Change-Id: I45b335d7c196d6b4d03e940b3b0f87f2767a5495
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[READ] For Firebase Unity SDK issues, please report to Firebase Unity Sample
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
After performing an Android build (and every time launching the editor after that build), Unity repeatedly logs:
The issue appears to be this line:
Further investigation reveals that Unity defines both:
and
The solution is likely to request the implementation of the method that takes a
BuildTargetGroup
to eliminate the conflicting name and allow this code to work:Please answer the following, if applicable:
What's the issue repro rate? 100%
What happened? How can we make the problem occur?
Add a plugin that uses EDM4U to a Unity 2021.2.0b1 project. After building for Android, you should start to see these logs. Tested in both Firebase and with the Play plugin for Unity.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
The text was updated successfully, but these errors were encountered: