Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by rself · Jul 09, 2016 at 05:19 PM · iosassemblyamazon

link.xml Assemblies Are Being Removed Upon Entering Project in Unity 5.3.5f1 AWS SDK

As the AWS SDK documentation suggests here, I have added the appropriate components to the link.xml file like:

 <assembly fullname="AWSSDK.Core" preserve="all"/>
 <assembly fullname="AWSSDK.CognitoIdentity" preserve="all"/>
 <assembly fullname="AWSSDK.CognitoSync" preserve="all"/>
 <assembly fullname="AWSSDK.DynamoDBv2" preserve="all"/>
 <assembly fullname="AWSSDK.Lambda" preserve="all"/>
 <assembly fullname="AWSSDK.MobileAnalytics" preserve="all"/>
 <assembly fullname="AWSSDK.SecurityToken" preserve="all"/>
 <assembly fullname="AWSSDK.IdentityManagement" preserve="all"/>

However, as soon as I open my project in the Unity editor, the above code is changed to:

 <assembly fullname="AWSSDK.Core" />

So, either A) The format listed in AWS's documentation is incorrect or B) Unity 5.3.5f1 has a bug. Does anyone know the correct format? I've found that the following doesn't automatically get automatically overwritten:

   <assembly fullname="AWSSDK.Core">
     <type fullname="Amazon.Util.Internal.PlatformServices.NetworkReachability" preserve="all" />
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.CognitoIdentity">
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.CognitoSync">
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.MobileAnalytics">
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.SecurityToken">
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.Lambda">
       <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>
   <assembly fullname="AWSSDK.DynamoDBv2">
       <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>

However, then I get errors similar to @JumpDog's post here, where I get the error

System.InvalidOperationException: Type System.String is unsupported, it cannot be instantiated at Amazon.DynamoDBv2.DataModel.StorageConfig...

So that makes me think that is not the correct format either. I've also seen this post and this post, and they have not worked. Please help! Thanks!

I'm using Unity 5.3.5f1 and AWS SDK 3.1.83.0

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by rself · Jul 16, 2016 at 06:57 AM

The following worked for me. I replaced all the features I was using with:

   <assembly fullname="AWSSDK.[some feature]">
     <type fullname="Amazon.*" preserve="all" />
     <namespace fullname="Amazon.Util.Internal.PlatformServices" preserve="all" />
   </assembly>

I've put an issue in the aws-sdk github repo to update their documentation.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image scottstephan · Dec 11, 2016 at 05:59 PM 0
Share

This is a goofy Q- But where is the link.xml file meant to go? IN /Assets?

avatar image rself · Dec 12, 2016 at 01:16 PM 0
Share

Yeah, $$anonymous$$e is in the root Assets folder.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Aws problems when deploying to IOS: MySql.Data.MySqlClient.MySqlException: Unable to create plugin for authentication method 'mysql_native_password'. Argument cannot be null.Parameter name: type 0 Answers

AWS .net issue with iOS - ServicePointManager[tls/ssl] 0 Answers

unable to build for android if Scripting Backend is set up as IL2CPP 0 Answers

AWS in iOS not working 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges