Search Issue Tracker
By Design
Votes
0
Found in
2019.1.0a1
2019.1.0f2
2019.2.0a1
2019.3.0a1
Issue ID
1147143
Regression
No
[IL2CPP] "AmazonServiceException: Unable to find credential" exceptions are thrown when building the project
How to reproduce:
1. Download the project from the attached Unity cloud link in the edit field
2. Open the project in the Editor and enter the Play mode
3. Enter the "App credentials" given in the edit field and notice how after authentification process you are taken to another scene (see the attached picture)
4. Build the project to the iOS platform and notice that when Xcode and entering the same credentials build hangs
-- AmazonServiceExceptions are thrown and the Xcode build freezes
Tested these version: 2019.1.4f1, 2019.2.0b3, 2019.3.0a3
With these devices:
iPhone XR (iOS 12.0) VLNQA00248
iPhone 6S (iOS 10.3.2) Plus VLNQA00248
Samsung Galaxy S9 (SM-G960U1), VLNQA00144, Android 9, CPU: Snapdragon 845 SDM845, GPU: Adreno (TM) 630
Couldn't test reliably due to the package errors:
2017.4.0f1, 2018.4.27f1, 2018.4.1f1, 2018.4.0f1
Notes:
* All the expectations thrown in Xcode are in the edit field below
* When testing this on Android IL2CPP, the build froze immediately after pressing the login button
* Android Mono builds do not freeze/hangs
* The attached file "il2cppHang.txt" shows what is thrown when IL2CPP build hangs on Android
-
askaleetw
Aug 28, 2019 11:22
What is the different path in AWS SDK which does not depend on ConfigurationManager?
-
askaleetw
Aug 28, 2019 11:13
The resolution note says that "The ConfigurationManager API is not supported in IL2CPP", what exactly does that mean? Are there any reference documents?
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
The ConfigurationManager API is not supported in IL2CPP. Use a different path in the AWS SDK which does not depend on the ConfigurationManager to locate credential settings.