I can't build an unity project.

First my english is not good, So, I hope to understand this matter.

I imported unity project. This project version is 3.x. So I went through process of converting (4.x)

And I was modified that does not supported api, etc in source code.

Script Build is OK. But I can’t build about iOS, Android, etc.

Error message is

  • Type ‘HttpRequest’ has an extra field ‘headers’ of type ‘System.Collections.Generic.Dictionary’ in the player and thus can’t be serialized UnityEditor. HostView:OnGUI();

  • Type’ HttpRequest’ has an extra field ‘uri’ of type ‘System.String’ in the player and thus can’t be serialized UnityEditor.HostView:OnGUI()

  • Type ‘HttpRequest’ has an extra field ‘method’ of type 'System.String" in the player and thus can’t be serialized UnityEditor.HostView:OnGUI()

… etc…

I dont’ know what is mean. Could I get some advice?

Type’ HttpRequest’ has an extra field
‘uri’

uri
Is this your error? I’m assuming you mean URL?

Do these strings need capitals? The error suggests you are adding extra fields. This would happen when you get Typos.

Looks like some people saw this before:

It looks like 3d party DLLs could be the issue here, try upgrading the plugin DLLs or changing the API compatibility level in build settings to full .NET 2.0 instead of .NET 2.0 Subset.

Just got same problem. Solution is to specify ‘private’ modifier for field.