Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Unity 2018.1f1 - editor issues using .NET 4.x

Discussion in '2018.1 Beta' started by Vagabond_, Apr 30, 2018.

  1. Vagabond_

    Vagabond_

    Joined:
    Aug 26, 2014
    Posts:
    1,148
    Hi, i am not able to always run latest 2018.1 with .NET 4.x loaded. Getting this error message in the beginning then it clears somehow and after a while shows up again and editor stop responding ...
    How good is it the 4.x support currently ?
    Am i suppose to switch to and use it in a project or it is not yet fully supported and better to stick to C# 3.5 !?

    Code (CSharp):
    1. ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.
    2. System.Reflection.Assembly.GetTypes () (at <e1a80661d61443feb3dbdaac88eeb776>:0)
    3. UnityEngine.Experimental.UIElements.Factories.DiscoverFactories () (at C:/buildslave/unity/build/Modules/UIElements/UXML/VisualElementFactory.cs:58)
    4. UnityEngine.Experimental.UIElements.Factories.RegisterFactory (System.String fullTypeName, System.Func`3[T1,T2,TResult] factory) (at C:/buildslave/unity/build/Modules/UIElements/UXML/VisualElementFactory.cs:31)
    5. UnityEngine.Experimental.UIElements.Factories.RegisterFactory[T] (System.Func`3[T1,T2,TResult] factory) (at C:/buildslave/unity/build/Modules/UIElements/UXML/VisualElementFactory.cs:37)
    6. UnityEditor.Experimental.UIElements.UXMLEditorFactories.RegisterAll () (at C:/buildslave/unity/build/Editor/Mono/UIElements/Controls/UXMLEditorFactories.cs:18)
    7. UnityEditor.GUIView.get_panel () (at C:/buildslave/unity/build/Editor/Mono/GUIView.cs:42)
    8. UnityEditor.GUIView.get_visualTree () (at C:/buildslave/unity/build/Editor/Mono/GUIView.cs:56)
    9. UnityEditor.GUIView.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/GUIView.cs:170)
    10. UnityEditor.AppStatusBar.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/GUI/AppStatusBar.cs:16)
    11.  
    EDIT : after switching back to .NET 3.5 the project does not want to load anymore !!!
     
    Last edited: Apr 30, 2018
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136