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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
This is a duplicate of issue #1192421