https://forum.unity.com/threads/exception-obsolete-providing-android-resources-in-assets-plugins-android-assets-was-removed.1171829/
For anyone blocked, here's a semi automatic way to unblock you.
* Place this script https://github.com/todi1856/Android...rader/Assets/Editor/AndroidPluginsUpgrader.cs into Assets/Editor folder
* Restart Editor
* Open project
* If you have Assets/Plugins/Android/<res, assets> folder present, you'll see a dialog asking about upgrade
* Basically Unity will move Assets/Plugins/Android/<res, assets> -> Assets/Plugins/Android/<res, assets>-legacy and upon export/build will manually copy Assets/Plugins/Android/<res, assets>-legacy to unityLibrary/src/main/<res, assets> folder (excluding .meta files)
2023-02-27: Upgraded code to also upgrade assets directory, similarly like gagasik code does.
No comments:
Post a Comment