简体   繁体   English

Unity 与 AWS 的集成

[英]Unity integration with AWS

'InvalidDataException' exists in both 'AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' and 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' - This is the error that appears when I import any package of AWS SDK into my unity project. 'AWSSDK.Core, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null' 和 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' 中都存在'InvalidDataException' - 这是出现的错误当我将任何 AWS SDK 包导入我的统一项目时。 Every steps in AWS SDK is followed correctly. AWS SDK 中的每个步骤都正确执行。 Is there any suggestion to overcome this error?有什么建议可以克服这个错误吗? Or any other methods to make connection between AWS and unity?或者任何其他方法可以在 AWS 和 unity 之间建立联系? Feedbacks are welcomed.欢迎反馈。

I've never used AWS, but have been using Firebase for years and have encountered that error several times.我从未使用过 AWS,但多年来一直在使用 Firebase,并且多次遇到该错误。 A solution I think is to delete one of the two: either "AWSSDK.Core" or "netstandard".我认为一个解决方案是删除两者之一:“AWSSDK.Core”或“netstandard”。 Since they are both critical to you, try the alternative route: Does that message refer to some script where that property is called?由于它们对您都很重要,请尝试另一种方法:该消息是否引用了调用该属性的某个脚本? Could you cast that line of code?你能转换那行代码吗? Also check if AWSSDK.Core is up to date.还要检查 AWSSDK.Core 是否是最新的。

if you think my answer helped you, you can mark it as accepted and vote positively.如果您认为我的回答对您有所帮助,您可以将其标记为已接受并投赞成票。 I would very much appreciate it :)我将非常感激:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM