odin 1.0.1.5 Continuous Error Spam but only on one machine

Issue #88 resolved
mike diskett created an issue

Attached editor exception filled log error spams as soon as unity editor is started

we have a small team sharing our project via perforce, odin is fine for everyone except one person, he gets this error continuously spammed (I disabled all odin options in preferences but it didnt stop the spam) had to delete odin locally for that person.

(IMPORTANT, looking at his log it looks like theres some initial failure to load odin dll?)

I Notice SECTR in the call stack, Sectr is a unity asset store audio system.

its IntroData thats being constructed is very simple though. (and of course is working fine on 3 other machines) public string version = SECTR_Modules.VERSION; is the line in the callstack

SECTR_Modules relevant part

public static class SECTR_Modules { public static bool AUDIO = false; public static bool VIS = false; public static bool STREAM = false; public static bool DEV = false; public static string VERSION = "1.3.2";

public class IntroData { public static string sectrBaseURL = "http://sectr.co/"; public static string siteFileBaseURL = "http://www.sectr.co/uploads/2/5/7/9/25793991/"; public static string uasBaseURL = "com.unity3d.kharma:content/"; public static string forumBaseURL = "http://forum.unity3d.com/threads/"; public static string infoURL = IntroData.siteFileBaseURL + "sectr_info.xml";

public string version = SECTR_Modules.VERSION;  <<<<<<<<<<<<<<<this line in the callstack
public string news = "Welcome to SECTR";

public string coreDocURL = sectrBaseURL + "docs.html";
public string audioDocURL = sectrBaseURL + "docs3.html";
public string streamDocURL = sectrBaseURL + "docs1.html";
public string visDocURL = sectrBaseURL + "docs2.html";

public string coreUAS = uasBaseURL + "15240";
public string audioUAS = uasBaseURL + "15325";
public string streamUAS = uasBaseURL + "15354";
public string visUAS = uasBaseURL + "15353";
public string completeUAS = uasBaseURL + "15356";

public string coreForumURL = forumBaseURL + "229901/";
public string audioForumURL = forumBaseURL + "229905/";
public string streamForumURL = forumBaseURL + "229907/";
public string visForumURL = forumBaseURL + "229908/";
public string completeForumURL = forumBaseURL + "229910/";

public string mailSupportURL = "mailto:support@makecodenow.com";
public string webSupportURL = sectrBaseURL + "support";

}

FileNotFoundException: Could not load file or assembly 'Sirenix.OdinInspector.Editor, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies. System.MonoCustomAttrs.GetCustomAttributesBase (ICustomAttributeProvider obj, System.Type attributeType) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoCustomAttrs.cs:108) System.MonoCustomAttrs.GetCustomAttributes (ICustomAttributeProvider obj, System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoCustomAttrs.cs:151) System.MonoType.GetCustomAttributes (System.Type attributeType, Boolean inherit) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoType.cs:595) Sirenix.Utilities.MemberInfoExtensions.GetAttributes[CompiledEditorAttribute] (System.Reflection.MemberInfo member, Boolean inherit) (at C:/Users/Tor/Documents/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Extensions/MemberInfoExtensions.cs:72) Sirenix.Utilities.MemberInfoExtensions.GetAttributes[CompiledEditorAttribute] (System.Reflection.MemberInfo member) (at C:/Users/Tor/Documents/Sirenix Development Framework/Sirenix Solution/Sirenix.Utilities/Extensions/MemberInfoExtensions.cs:62) Sirenix.OdinInspector.Editor.EditorCompilation..cctor () (at C:/Users/Tor/Documents/Sirenix Development Framework/Sirenix Solution/Sirenix.OdinInspector.Editor/Misc/EditorCompilation.cs:177) Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Sirenix.OdinInspector.Editor.EditorCompilation System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (RuntimeTypeHandle type) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Runtime.CompilerServices/RuntimeHelpers.cs:101) UnityEditor.EditorAssemblies.ProcessEditorInitializeOnLoad (System.Type type) (at C:/buildslave/unity/build/Editor/Mono/EditorAssemblies.cs:136) Rethrow as TypeInitializationException: An exception was thrown by the type initializer for SECTR_Modules IntroData..ctor () (at Assets/SECTR/Code/Core/Editor/SECTR_IntroWindow.cs:16) System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:513) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:519) System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:528) System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77) System.Activator.CreateInstance (System.Type type, Boolean nonPublic) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:372) System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadClassInstance (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadObject (System.Xml.Serialization.XmlTypeMapping typeMap, Boolean isNullable, Boolean checkType) System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot (System.Xml.Serialization.XmlTypeMapping rootMap) System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader)

Comments (3)

  1. Tor Esa Vestergaard

    Has he deleted the GeneratedOdinEditors.dll file so it can regerenerate with references to the correct assemblies, like the upgrade instructions note?

  2. mike diskett reporter

    I will check if that fixes it in the morning, I did try and force a new generated dll by clicking the recompile button.

  3. Tor Esa Vestergaard

    This issue seems to be resolved by fixes we've made, which will make it into the next patch. If it hasn't, please write here again and we'll reopen it.

  4. Log in to comment