Search Issue Tracker
Duplicate
Votes
2
Found in
2019.3.0a1
2019.3.0a2
Issue ID
1204414
Regression
Yes
[Android] UnityPlayerActivity class is relocated from classes.jar file
Relative post:
https://forum.unity.com/threads/using-unity-as-a-library-in-native-ios-android-apps.685195/
To reproduce:
1. Go to <YourEditorRoot>/Contents/PlaybackEngines/AndroidPlayer/Variations/il2cpp/Release/Classes
2. Open the classes.jar file with compatible software (example: jd-GUI)
3. In jar file, go to com > unity3d.player and observe UnityPlayerActivity.class missing from the classes list
UnityPlayerActivity as a .java file is now located in: <YourEditorRoot>/Contents/PlaybackEngines/AndroidPlayer/Source/com/unity3d/player
Currently, the editor cannot be extended by the means that are mentioned in documentation: https://docs.unity3d.com/Manual/AndroidUnityPlayerActivity.html
WORKAROUNDS for creating plugins in Android Studio:
• Getting classes.jar to your Android studio project from older Unity editors (anything older than 2019.3.0a2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
This is a duplicate of issue #1192421