Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.4.10f1
2021.1
Issue ID
1283955
Regression
No
[iOS] Social.localUser.Authenticate() is not called when user is not authenticated and GameCenter login pop-up is dismissed
How to reproduce:
1. Open the attached 'New Unity Project.zip' project
2. Switch Platform to iOS in Build Settings
3. Build for iOS and open the Xcode project
4. Deploy Xcode project to an iOS device without being logged into GameCenter
5. Click on the Authenticate button on the screen
6. Observe that the following message is displayed 'SocialAuthenticateAsync is called'
7. If popup from GameCenter opens and wants you to log in, dismiss it
8. See the message that is called from the GameCenterLogin script in Unity: SOCIAL SIGN IN ERROR
9. Hit the authenticate button again
Actual result: 'SocialAuthenticateAsync called' message is displayed, pop-up window of Game Center does not appear
Expected result: 'SocialAuthenticateAsync' and 'SOCIAL SIGN IN ERROR' errors are being thrown
Reproducible with: 2018.4.29f1, 2019.4.13f1, 2020.1.9f1, 2020.2.0b7, 2021.1.0a1
Reproducible with:
iPhone XR (iOS 13.4.1)
iPad 9.7’ 6th gen (iOS 14.2)
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
- Window preview appears on a different monitor when undocking and dragging a window with a high-resolution monitor set up on the right and a low-resolution monitor on the left.
- Probe Volume Baking Set Reference Documentation is missing
- Crash on RendererScene::NotifyInvisible when entering Play mode after undoing a change within the scene with Ctrl+z
- [iOS] Final Image misaligned when using "ScalableBufferManager.ResizeBuffers" to resize
- GameObjects are not updating when Materials and Cubemaps are updated from Environmental Reflections
Resolution Note (2020.2.X):
On certain platforms (including but not limited to iOS and tvOS), the callback is only invoked on the first call to Authenticate(). Subsequent calls to Authenticate() on such platforms results in no callback being triggered. This can occur if, for example, the user or the OS cancels the authentication operation before it has completed. Please ensure you test for this situation.