Since I added a new script to my project, the console returns:
“Internal compiler error. See the console log for more information. output was:”
A search online suggested that ordinarily such an error included some form of output after the colon; however, in this case, it yielded an empty string. Additionally, the console log displays no further information – only this error message replicated multiple times and insignificant warnings about the obsolescence of certain assets.
I do not believe that the error pertains to the script I added, as (1) the script is adapted from an online tutorial and moreover (2) removing the script (or any/all scripts) from the assets library does nothing to eliminate the error.
I have restarted Unity and MonoDevelop. I attempted deleting potentially offending scripts to no avail. I initiated the process of reimporting assets in an attempt to eliminate the error; however, the program has not progressed beyond the title screen for perhaps an hour despite the small size of the project in question (several hundred lines of code).
I am using MonoDevelop on Windows 7 and writing scripts using C#. The program path is C:\Program Files (x86)\Unity\Editor\Unity.exe . I am using Unity file version 4.1.2.1635 and product version 4.1.2.67171 .
It would be much appreciated if somebody could recommend further course of action. If further information would be helpful, please let me know.
And the script:
//Adapted from http://www.burgzergarcade.com/tutorials/game-engines/unity3d/017-unity3d-tutorial-character-statisics-77
public class Skill : ModifiedStat {
private bool _known; // Does the character know the skill?
public Skill () {
_known = false;
ExpToLevel = 25;
LevelModifier = 1.1;
}
public bool Known {
get{ return _known;}
set{ _known = value;}
}
}
// Add skills as desired. Each is assigned a unique integer starting with 0. Note that spaces are not permitted in an enumeration.
public enum SkillName {
Skill1,
Skill2
}