Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
0
Found in
2019.4
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1323715
Regression
No
[iOS] Crash on ScriptingGCHandle::Acquire when calling RequestUserAuthorization with an already pending request using yield
Steps to reproduce:
1. Open the project attached by the user
2. Build for iOS
3. Run the Xcode project on a device
4. Don't allow camera permission when asked
Reproducible with: 2019.4.24f1, 2020.3.2f1, 2021.1.2f1, 2021.2.0a12
First five lines of the stacktrace:
frame #0: 0x0000000107c22e90 UnityFramework`ScriptingGCHandle::Acquire(ScriptingObjectPtr, ScriptingGCHandleWeakness)
frame #1: 0x0000000107bf16fc UnityFramework`Application_Bindings::RequestUserAuthorization(int)
frame #2: 0x0000000107f50f24 UnityFramework`U3CStartU3Ed__0_MoveNext_m3BCF11EFAC3D24336830604EF655573F74941CB4
Reproducible on:
- iPad 9.7" 6th gen (14.4)
- iPad Air 2 (11.0.3)
- iPhone XR (13.4.1)
- iPhone 8 Plus (12.0)
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
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
- Asset Bundles non-deterministic behavior with CRCs and hash when a video has Transcoding enabled and Sprite Atlas has an override option enabled
- [Quality Hackweek] Errors "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread" and "NullReferenceException" shown when switching build platforms with Muse Texture package installed
- "Importer(DefaultImporter) generated inconsistent result for asset" warnings are thrown when reimporting the "URP" texture
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a14
Resolution Note (fix version 2021.1):
Fixed in 2021.1.15f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.16f1