Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Special considerations for Unity support

Focus mode
Special considerations for Unity support - AWS SDK for .NET (version 4 preview)

The AWS SDK for .NET version 4 (V4) is in preview, therefore this content is subject to change. For information about breaking changes and migration, see the migration topic. For released content, see the version 3 developer guide instead.

The AWS SDK for .NET version 4 (V4) is in preview, therefore this content is subject to change. For information about breaking changes and migration, see the migration topic. For released content, see the version 3 developer guide instead.

When using the AWS SDK for .NET and .NET Standard 2.0 for your Unity application, your application must reference the AWS SDK for .NET assemblies (DLL files) directly rather than using NuGet. Given this requirement, the following are important actions you will need to perform.

  • If you're using IL2CPP to build your Unity project, you must add a link.xml file to your Asset folder to prevent code stripping. The link.xml file must list all of the AWSSDK assemblies you are using, and each must include the preserve="all" attribute. The following snippet shows an example of this file.

    <linker> <assembly fullname="AWSSDK.Core" preserve="all"/> <assembly fullname="AWSSDK.DynamoDBv2" preserve="all"/> <assembly fullname="AWSSDK.Lambda" preserve="all"/> </linker>
Note

To read interesting background information related to this requirement, see the article at https://aws.amazon.com/blogs/developer/referencing-the-aws-sdk-for-net-standard-2-0-from-unity-xamarin-or-uwp/.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.