Search Issue Tracker
Fixed
Fixed in 2022.3.7f1, 2023.1.7f1, 2023.2.0b3, 2023.3.0a1, 7000.0.0a1
Votes
0
Found in
2022.3.2f1
2023.1.0f1
2023.2.0a20
2023.3.0a1
7000.0.0a1
Issue ID
UUM-40774
Regression
Yes
[Android] The Player is restarted instead of reacting to deep link when testing with Google OAuth example
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “Assets/SimpleGoogleSignIn/Example.unity” Scene
3. Build And Run on Android
4. In Player press Sign-In with Google
5. Do all the steps required to Sign-In
6. Observe the Player after the Sign-In process
Expected result: The Player reacts to the deep link
Actual result: The Player restarts
Reproducible with: 2022.2.0a13, 2022.3.2f1, 2023.1.0f1, 2023.2.0a20
Not reproducible with: 2021.3.27f1, 2022.2.0a12
Reproducible with devices:
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
Could not test with devices:
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
Testing environment: Windows 10 Enterprise 21H2
Notes:
- The demo project attached is a Google OAuth example
- Thread about this issue with a suggested workaround in Unity forums: [https://forum.unity.com/threads/deep-linking-in-unity-2022-the-app-is-restarted.1447300/]
- Does not reproduce in Play Mode
- Does not reproduce on Windows Standalone Player
- The issue itself is not specific to deep linking. The activity attributes are not being added to the AndroidManifest when generating it, {color:#00875A}{{android:launchMode="singleTask"}}{color} is needed for deep-linking to work properly.
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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note (fix version 7000.0.0a1):
Android: Fix unpatched activity tags in AndroidManifest
Resolution Note (fix version 2023.3.0a1):
Fix unpatched activity tags in AndroidManifest when activity name is UnityPlayerActivity or UnityPlayerGameActivity.