Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2018.4.X, 2019.1.X, 2019.2.X
Votes
0
Found in
2018.3.0a1
2018.3.6f1
Issue ID
1134343
Regression
Yes
[iOS] Https web request fail with NotSupportedException: Could not find TLS Provider: `Mono.AppleTls.AppleTlsProvider'
To reproduce:
1. Open users attached project "UnityTlsTest.zip"
2. Open "SampleScene.unity" scene
3. Build for iOS
4. Deploy the Xcode project to an iOS device
5. Observe the Xcode console
Expected result: no errors in the console
Actual result: getting "NotSupportedException: Could not find TLS Provider: `Mono.AppleTls.AppleTlsProvider'" in the Xcode console
Reproduced on:
2018.3.0a1 2018.3.10f1
Not reproduced on:
2018.2.21f1 2019.1.0b8 2019.2.0a9
Devices tested on:
iPhone X iOS 12.1
Notes:
From 2018.3.0a1 to 2018.3.0b5 getting this error in the console and unable to build the project:
"Assets/Scripts/HttpClientRequest.cs(12,27): error CS0246: The type or namespace name 'HttpClient' could not be found (are you missing a using directive or an assembly reference?)"
Changing API Compatibility Level from .NET 4.x to .NET Standard 2.0 fixes the error. But the issue described is still reproducing on an iOS device.
Didn't reproduce on Android, MacOS standalone.
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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note (fix version 2019.3):
Fix AppleTlsProvider error on iOS when Strip Engine Code is enabled caused by incorrectly falling back to AppleTlsProvider.