-
Notifications
You must be signed in to change notification settings - Fork 362
[Bug] Android resolver fails to copy aar files from local maven repository provided from packages (Unity 6). #697
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
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
This issue still exists, and blocks devs to build with Unity 6. |
I have the same problem, may I ask how to solve it in the end? |
Still waiting Google to acknowledge the issue and fix it |
I'm also having the same issue with Unity 6. Google really needs to fix this, because Unity 6 won't be in preview for much longer, and will likely be to go-to version for most people due to the removal of the Unity Splash Screen requirement. I should add that I'm not even able to get Unity to build an Android build at all. It gets stuck when trying to compile Scene 0 every single time I try to make an Android build... It runs in Play Mode fine, and builds and runs on iOS as well. |
Thank you all for these inputs, I was able to reproduce the same behavior. I'll go ahead and notify our engineering team. Hopefully we can address this issue before the full release of Unity 6. |
Also is it possible to change the releasing of this package from dll into raw source code ? So that we could be easily debug and also fixing this package easily |
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
When running the Android resolver, the resolver failed to copy aar files provided in the firebase packages with the following error:
Upon further investigation, I found that the cause was actually due to path resolving in
FileUtils.cs
The following regex no longer match for Unity 6:
This is because Unity 6 has changed the folder naming by removing the

@version
postfix:Understanding that, moving the firebase packages to the local
Packages/
folder proved to "resolve" this issue as that will avoid matching the package path via this regex — it's not an ideal solution though.Adding on top of this, there is also another less problematic deprecated warning with the resolver's generated gradle settings in
mainTemplate.gradle
:With the above, Unity will complain that
packagingOptions
is deprecated and changes it topackaging
if you let it auto fix when trying to build an Android build.Please answer the following, if applicable:
What's the issue repro rate? 100%
What happened? How can we make the problem occur?
The text was updated successfully, but these errors were encountered: