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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
This is a duplicate of issue #1192421