- Home /
NotSupportedException: The invoked member is not supported in a dynamic module.
Hi,
we started to see this exception in unity editor (all works as expected) after each code change that triggers compilation... Any ideas? It's some internal Unity magic I just cannot figure out what is causing it all of a sudden...
 NotSupportedException: The invoked member is not supported in a dynamic module.
     System.Reflection.Emit.AssemblyBuilder.get_Location () (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection.Emit/AssemblyBuilder.cs:241)
     Unity.PackageManager.PackageManager.RefreshLocalPackagesFromDomain () (at C:/BuildAgent/work/d3d49558e4d408f4/Tools/PackageManager/PackageManager/PackageManager.cs:325)
     Unity.PackageManager.PackageManager.StartInstance () (at C:/BuildAgent/work/d3d49558e4d408f4/Tools/PackageManager/PackageManager/PackageManager.cs:133)
     Unity.PackageManager.PackageManager.Start () (at C:/BuildAgent/work/d3d49558e4d408f4/Tools/PackageManager/PackageManager/PackageManager.cs:109)
     Unity.PackageManager.EntryPoint.Awake () (at C:/BuildAgent/work/d3d49558e4d408f4/Tools/PackageManager/PackageManager/PackageManager.cs:372)
     UnityEngine.ScriptableObject:CreateInstance()
     Unity.PackageManager.PackageManagerMainThread:.cctor() (at C:/BuildAgent/work/d3d49558e4d408f4/Tools/PackageManager/PackageManager/PackageManager.cs:363)
     UnityEditor.EditorAssemblies:SetLoadedEditorAssemblies(Assembly[])
 
               Comment
              
 
               
              Answer by Hosnkobf · Jun 26, 2018 at 08:04 AM
I experience the same problem since yesterday. What I did is creating a class which is derived from SerializedMonoBehaviour. So my best guess is that it has to do with Odin Inspector.
Your answer
 
 
             Follow this Question
Related Questions
A node in a childnode? 1 Answer
C# try catch block doesn't work for iOS? 2 Answers
NUnit problems with Unity (System.MissingMethodException) 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                