question

merlineus avatar image
merlineus asked

Unity .net 4.6 incompatibility

I've tried to switch runtime to .net 4.6 and receive errors in PlayFab editor extension:

https://gist.github.com/merlineus/20fab25f1d6d642dabe87c8a55a96880

https://gist.github.com/merlineus/7f2d07d555cc543f8ad4b18f1f7053c4

https://gist.github.com/merlineus/b021ec06a5e3f248d3f0309208deadcd

And PlayFab SDK:

https://gist.github.com/merlineus/32a0dd330b8260b09851fbd0901fbbbf

.net 4.6 (and maybe .netstandard 2.0) is going to be stable in Unity 2017.2 so it's a good idea to adopt your code for them.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

merlineus avatar image merlineus commented ·

According to SDK the error appears only with HttpWebRequest. With UnityWww all working fine.

0 Likes 0 ·

1 Answer

·
1807605288 avatar image
1807605288 answered

Thanks for bringing this to our attention.

I missed the announcement for .Net 4.6 in Unity, so we're not using/testing it yet.

I'm not going to give an ETA for this, since it's a big change, and it's going to require a great deal of new testing for us.

For now, if you're using .Net 4.6 in Unity, just delete the HttpWebRequest file, and use UnityWWW, and let us know if you find any additional issues.

Thanks!

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.