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 ApiGLES::ClearBufferSubData when playing video on Meta Quest 2
- An additional Add node is created when double-clicking on a node in the ShaderGraph "Create Node" menu
- Shader Graph's Simple Noise node preview is black when no Active Targets are selected
- AudioSource starts playing at full volume when AudioMixerGroup is unloaded
- Audio fails to play in the WebGL Player when its clips are played in the Timeline
This is a duplicate of issue #1192421