.NET 4.0 Support.

AAAAND Unity strikes again. Because it’s stuck in .NET 2.0, I’m forced to rewrite my global highscore networking code because Unity doesn’t have the System.Runtime.Serialization assembly…

This is for the WebPlayer. It works for Android and PC…

When can we can some support for this basic stuff?

EDIT: superpig’s post sounds like it gets to the heart of the issue. Not this post.

Eric5h5 pointed me to this forum post.

Looks like sometime in Unity 5, though it sounds like it will be “early access” at that point.

System.Runtime.Serialization isn’t a .NET 4.0 assembly; I’m using it just fine on standalone.

I notice that

The Webplayer is sandboxed for security reasons, and in addition a number of things aren’t available for size concerns. I can’t find the current list of supported types/methods but here’s the list from Unity 4.1 which I expect is fairly up-to-date - anything where ‘Web Player’ is in red is not available to you on that platform.

1 Like