hello,
i just started to learn unity2D and i ran in to a problem with my first code file…
i followed the instructions, which are simple and i get the above Error.
i created a js file and without even adding anything i get the error.
An item with the same key has already been added(Error:System.ArgumentException)
as i said the code is very basic and i get the error in the MonoDevelop unity when i press build all . but it still worked in play mode in the console.
#pragma strict
var greeting:String = "Hello World!";
function Start ()
{
print(greeting);
}
function Update ()
{}