Closed liszto closed 3 years ago
Any news ?
got the same problem... have no clue why that been done this way
I have downloaded the newest sdk for Unity and this issue still happen. Any solution for this?
@klaytaybai do you have any news on this ?
[UPDATED 1] I have tried the method below and it doesn't work. I have been thinking if there is some kind of dll extractor so it can do something like unzip the dll into the original script. And after that I just need to remove the duplicate 'InvalidDataException.cs' Any other solutions? Thanks before.
[ORIGINAL POST] Well I found this in the archive: https://github.com/amazon-archives/aws-sdk-unity Haven't really tried it because the last update time is 3 years ago.
If there is any package or some link that I can download the raw format (.cs and others), not the .dll format, it would be much helpful since I can just delete the temporary 'InvalidDataException.cs' script anyway
@sstevenkang @normj Any news regarding this Issue? Currently AWS SDK is unusable in Unity 2018.
Has anyone found a workaround/update to this issue?
my workaround:
Thanks, that worked for me (wasn't able to figure out how to set TargetFrameworkVersion, but haven't hit an error yet either)
This currently means that you CANNOT use the AWS SDK with Unity.
When is this being fixed?
I can't build AWSSDK.Unity.sln.. getting UnityEngine not found error. I have installed Unity on a standard location in Mac. Does this only work in Windows?
@gamedev2492 are you blaming me for an aws trouble? 🤔
Is this still an issue? The last time I download the SDK, it has already been solved. Don't know if it happens again on the latest one. I haven't used it for a while.
Hi @liszto,
Good afternoon.
Please review comment from @Handy-TN. Kindly confirm if this is still an issue.
Thanks, Ashish
This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.
Hi, I hope I am not too late here. The solution is simple, although not trivial. I'll write the steps and below an explanation.
Explanation: This will work for any NuGet package, not just AWS. AWS used to have an SDK for Unity, which included missing file definitions. That SDK has been abandoned, and since Unity added the missing files and classes, there is a duplication which is hard to solve. More over, the SDK is not updating so it would be better to download the AWS SDK for .NET which includes all the functionality needed for Unity. In order for Unity to include the package, it's not enough to import it through the IDE, you need it in your plugins folder so it will be included in the prioject AND in the build. Good luck!
In Unity when we import your package everything is fine but as soon as another script try to access to "System.IO.InvalidDataException" it will create a conflict and the compiler can't resolve. We are using :
This is the incriminated script :
if you called just this script in Unity project, you will generate the issue :
Why are you keeping this, whereas it's implemented in System.IO C# library ?
You can just removed it no or use at least a custom namespace if you want to have your own InvalidDataException ? But when I see your implementation it seems to be just a complete empty nutshell that could just create issue.
Thanks.