I do not know much about scripting I think the script I added is causing problems. I tried to add this C# Script to the Editor folder and without knowing what I was doing I started getting compiling errors. Now even if i remove that script I still get errors can not run my project. BTW the script was something i found on the forums to hopefully auto change all imported FBX scales from .01 to 1, something I still would like to find a solution to.
Any help would be appreciated.
using UnityEditor;
public class FBXScaleFix : AssetPostprocessor
{
public void OnPreprocessModel()
{
ModelImporter modelImporter = (ModelImporter) assetImporter;
modelImporter.globalScale = 1;
}
}
The few errors i am getting are:
ApplicationException: Unable to find a suitable compiler
UnityEditor.Scripting.ScriptCompilers.CreateCompilerInstance (MonoIsland island, Boolean buildingForEditor, BuildTarget targetPlatform) (at C:/BuildAgent/work/cac08d8a5e25d4cb/Editor/Mono/Scripting/ScriptCompilers.cs:99)
Failed to create compiler instance
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,UnityEditor.VisualStudioIntegration.ScriptingLanguage].get_Item (System.String key) (at /Applications/buildAgent/work/b59ae78cff80e584/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150)…
Thanks for the Help!
Josh