- Home /
warning CS0414
I am unable to compile the project with an error:
MenuManipulator.cs(91,20): warning CS0414: The private field 'Manipulator.sourcestring' is assigned but its value is never used
Please help to resolve it.
Regards
Answer by tanoshimi · Sep 23, 2013 at 04:10 PM
That's a warning, not an error - it shouldn't cause the project to fail to compile. What it's telling you is that you have declared a variable "sourcestring" which is unnecessary because it's never used.
Answer by Bunny83 · Sep 23, 2013 at 04:10 PM
This is not an error and won't prevent you from building the game. It just tells you that you have a private variable (which can only be accessed from inside the class ) which you assigned a value to, but the variable isn't actually used anywhere. So you might want to remove the variable if you don't need it.
Anyway, a warning won't prevent you from building the project, only errors (which are red in the console).
Answer by ayaz79 · Sep 23, 2013 at 07:20 PM
I got it, Yes I have a red console warning; Android (invokation failed)
I guess it is to downgrade the android to an older revision.
Thank you.
Your answer

Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
variable has not been assigned? 1 Answer
Visual Studio error for referenced scripts 2 Answers
Roll-a-Ball Compiler Errors 0 Answers
i cant add my scripts 2 Answers