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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
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