Search Issue Tracker
Fixed in all
Votes
0
Found in [Package]
2.0.8
Issue ID
1156349
Regression
No
[Android][UaaL] Build with Android Studio fails when embedding exported Unity project has ADS enabled
To reproduce from scratch:
1. Open attached "ProjectWithAds" project (Ads package are already installed and enabled)
2. Export Android project
3. Include into project created by Android Studio and try to build
To reproduce with attached projects:
1. Open "NativeAndroidApp" Android Studio project (Unity exported project and Android Studio projects already linked)
2. Try to build
Result - Android Studio build fails, complaining about ADS module - "Could not find :unity-ads:. Required by:project :app > project :unityLibrary"
Reproducible with - 2019.3.0a3, 2019.3.0a2
Notes:
1. Reproducible with ADS 2.0.8 and 3.1.1 package versions
2. Build and Run directly from Unity works fine
Fixed by adding extra step to documentation - https://forum.unity.com/threads/integration-unity-as-a-library-in-native-android-app.685240/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Add comment