Closed streunerlein closed 3 years ago
We tested it on Unity LTS version 2020.3 and 2019.4, but not 2021.2. Could you check it on 2020.3?
I could reproduce it. This is an urgent issue. Thanks for your report.
Thank you. I suspect it is an isssue with 2021.2, I have made a similar experience with .jar files and even filed a bug for it: https://issuetracker.unity3d.com/issues/android-il2cpp-jar-file-not-included-in-build-when-building-apk-with-il2cpp-and-only-arm64-target-architecture-selected
Probably the two issues are related?
Also adding https://issuetracker.unity3d.com/issues/only-some-assemblies-fail-to-be-loaded-when-assembly-name-does-not-match-the-file-name here, as it could be related as well.
@streunerlein Wow, this is a valuable info. Thank you very much.
I checked the issue with Unity2021.1.16 but not reproduced. As you said, the cause of the issue seems to be the Unity editor 2021.2.
@karasusan Is there something more I can do? Is this being investigated by Unity (via you) or should I file another bug report?
Also, if anyone knows a working workaround that would be amazing. We are crying here because we are so close to get rid of MixedReality-WebRTC but can't because of this.
@streunerlein I am asking about this issue the mobile team.
It seems as if https://issuetracker.unity3d.com/issues/android-il2cpp-jar-file-not-included-in-build-when-building-apk-with-il2cpp-and-only-arm64-target-architecture-selected is fixed for 2022.1 and planned for 2021.2. As this is the version I am on, I would like to keep this issue open until 2021.2 is fixed as well.
Update: In 2021.20b13 this is indeed fixed by Unity, we've just run a successful test. Thank you @karasusan
When calling WebRTC.Initialize() there is a DllNotFoundException thrown on device (Android with IL2CPP and only Armv64 selected):
Steps to reproduce the behavior:
Environment (please complete the following information):