When building for iOS in Unity, got these exception and build fails:
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'definition'))
Build for Android is ok.
When I remove AWS dll's - build for iOS is successful.
If I use "reimport All' in Unity, I get this error/warning message:
Failed to extract Amazon.V4ClientSection class of base type Amazon.Util.Internal.ConfigurationElement when inspecting Assets/Plugins/AWS/AWSSDK.S3.dll
UnityEditor.AssemblyHelper:ExtractAllClassesThatAreUserExtendedScripts (string,string[]&,string[]&,string[]&)
Expected Behavior
Build for iOS is successful.
Current Behavior
Build for iOS is failed with exception:
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'definition'))
Reproduction Steps
I used this tutorial to integrate with AWS:
I had these libraries in my project:
Amazon.Extensions.CognitoAuthentication
AWSSDK.Account
AWSSDK.CognitoIdentity
AWSSDK.CognitoIdentityProvider
AWSSDK.CognitoSync
AWSSDK.Core
AWSSDK.IdentityManagement
AWSSDK.S3
AWSSDK.SecurityToken
Microsoft.Bcl.AsyncInterfaces
System.Runtime.CompilerServices.Unsafe
System.Threading.Tasks.Extensions
Describe the bug
When building for iOS in Unity, got these exception and build fails:
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'definition'))
Build for Android is ok. When I remove AWS dll's - build for iOS is successful.
If I use "reimport All' in Unity, I get this error/warning message:
Expected Behavior
Build for iOS is successful.
Current Behavior
Build for iOS is failed with exception:
System.AggregateException: One or more errors occurred. (Value cannot be null. (Parameter 'definition'))
Reproduction Steps
I used this tutorial to integrate with AWS: I had these libraries in my project: Amazon.Extensions.CognitoAuthentication AWSSDK.Account AWSSDK.CognitoIdentity AWSSDK.CognitoIdentityProvider AWSSDK.CognitoSync AWSSDK.Core AWSSDK.IdentityManagement AWSSDK.S3 AWSSDK.SecurityToken Microsoft.Bcl.AsyncInterfaces System.Runtime.CompilerServices.Unsafe System.Threading.Tasks.Extensions
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Don't know how to get version
Targeted .NET Platform
Unity .NET
Operating System and version
Windows 11