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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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