Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.45f1

2022.3.51f1

Issue ID

UUM-87564

Regression

No

[Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK

--

-

Steps to reproduce:
1. Open the “IN-87253” project
2. Ensure that Development Build in Build Settings is enabled
3. Build and Run
4. In the Player Startup Options screen enable “Skip Tutorial”, “Skip Ftue Event“, “Skip Contextual Tutorial“
5. Press “Start” button
6. Enter an age 18 or higher and press “Confirm” button
7. In the bottom right of the screen press the Facebook login button
8. Click the “Connect” button and press Yes checkmark
9. Disable or Enable cookies and when it gets to the Facebook login page and press the “x” button on the top left of the screen (return back to the app)

Expected result: Logins or shows that the login failed
Actual result: The Player loads indefinitely

Reproducible with: 2021.3.45f1, 2022.3.51f1
Could not test with: 6000.0.27f1, 6000.1.0a3 (neverending errors that the function is obsolete or depreciated)

Testing environment: macOS 14.6.1 (Intel)
Not reproducible on: No other environment tested

Reproducible with these devices:
VLNQA00334 - Xiaomi Mi A3 (Mi A3), CPU: Snapdragon 665 SM6125, GPU: Adreno 610, OS: 11
VLNQA00344 - Note20 Ultra 5G USA (SM-N986W), CPU: Snapdragon 865 SM8250, GPU: Adreno 650, OS: 11
VLNQA00472 - samsung Galaxy A52 (SM-A525F), CPU: Snapdragon 720G (SM7125), GPU: Adreno 618, OS: 12
VLNQA00409 - Galaxy Z Fold3 5G (SM-F926B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
Samsung S10
Motorola One Action

Workaround: Comment out the line where “StartActivityIndicator()” is used

Notes:
- Going to the device’s Recent Apps Menu and returning to the Player it returns to focus and loads the “Unable to Connect”
- Could not test with iOS (build fails with errors)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.