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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
This is a duplicate of issue #1192421