- Home /
Microsoft (R) Visual C# Compiler version 4.0.30319.34209
I didn't change anything in my project and today I come across a whole pile of errors from this compiler. What is also alarming is that I have been working on a project for 6 months and never once seen this error, or this type of message.
um? did something update with unity or .net?
I really don't even know where to begin.
Here is the only actual error, which wasn't a problem yesterday.
Assets\Prefabs\UI_46_Joystick\Demo\Scripts\JoystickDataTest.cs(7,12): warning CS0436: The type 'Joystick' in 'c:\Elementz - Copy - Copy\Elementz\Assets\Prefabs\UI_46_Joystick\Scripts\Joystick.cs' conflicts with the imported type 'Joystick' in 'c:\Elementz - Copy - Copy\Elementz\Library\ScriptAssemblies\Assembly-UnityScript-firstpass.dll'. Using the type defined in 'c:\Elementz - Copy - Copy\Elementz\Assets\Prefabs\UI_46_Joystick\Scripts\Joystick.cs'.
Once again, I didn't change anything. no extra folders no builds. and this error.
Answer by CaKeMeaT · Jul 13, 2015 at 06:19 PM
I had to change all of my scripts to JoystickJS(javascript) and JoystickCS(c#) in order to get past this.
Really just circumventing the problem, since I couldn't identify the origin.
Your answer
Follow this Question
Related Questions
How do I fix compliance error? 1 Answer
Unhandled Exception: System.UnauthorizedAccessException 1 Answer
Unity Standard Assets' CrossPlatformInputInitialize has errors 1 Answer
Cant build because services tab wont load 1 Answer
IL2CPP throws null exception when compiling .dll plugin for WebGL 0 Answers