Search Issue Tracker
Fixed in 2019.1.X
Votes
1
Found in
2017.3.0p2
Issue ID
1030203
Regression
No
[Android] "Performing stop of activity that is already stopped" thrown when locking the app while Google login pop up is active
Reproduction steps:
1) Download and open attached project from OC
2) Setup Android player settings with given (in edit field) bundle identifier, keystore and keystore password
3) Build and run the project on an Android device
4) When app launches press on "Sign In" button
5) Press the Home button when "Choose account" window pops up
6) Open application by clicking on its icon (doesn't reproduce if open through app list)
-- Notice that application crashes - java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference
Reproduced with: 2018.2.7f1, 2018.1.2f1, 2017.4.3f1, 2017.2.3f1, 2017.1.4f1, 5.6.6f2
Note: This issue does not reproduce on Android 7 and older
Devices under testing:
Reproduced with:
Samsung Galaxy S9, Android 8.0.0
Samsung Galaxy S9+ (USA), Android 8.0.0
Samsung Galaxy S8, Android 8.0.0
Google Pixel, Android 8.1 (throws slightly different error, check Edit section)
Google Pixel 2, Android 8.1
Unable to reproduce on:
Samsung Galaxy Note8, Android 8.1
Samsung Galaxy S7, Android 7.0
HTC 10, Android 7.0
Xiaomi Mi Max, Android 6.0.1
Meizu MX5, Android 5.0.1
Samsung Galaxy Nexus, Android 4.3
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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note (fix version 2019.1):
Android 8 problem with java.lang.RuntimeException: Performing stop of activity that is already stopped. This looks like Android 8 specific problem with transparent activity and I don't see any bad effects from it other than exception itself in the log. This exception is not reproduced on Android 9
Crash when resuming application by clicking on its icon is fixed after upgrading google-signin-unity plugin
https://github.com/googlesamples/google-signin-unity/releases/tag/v1.0.4