Error : Non-static method requires a target.

Support for MFPS 2.0 (for verified users)
Forum rules
To request support/assistance for MFPS, you first have to verify your purchase by sending your purchase invoice number to Lovatto in a PM.
Post Reply
User avatar
JoshuaLiu
New Member
New Member
Posts: 1
Joined: Fri Nov 26, 2021 7:58 pm

When I open the project:
System.Reflection.TargetException: Non-static method requires a target.
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0004c] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x00047] in <ad50112e30b445fdbf80d5814c3cbcf6>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

Please help me, Thanks!
User avatar
websbk
Contributor
Contributor
Posts: 180
Joined: Fri Aug 04, 2017 5:34 pm

JoshuaLiu wrote: Fri Nov 26, 2021 8:19 pm When I open the project:
System.Reflection.TargetException: Non-static method requires a target.
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0004c] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x00047] in <ad50112e30b445fdbf80d5814c3cbcf6>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

Please help me, Thanks!
this is a problem of Unity itself and not of the package
User avatar
kwikman
New Member
New Member
Posts: 8
Joined: Wed Nov 24, 2021 11:01 am

Have anybody managed to solve this? I got the same error in 2020.3.24

Greetings
Kaj
User avatar
kwikman
New Member
New Member
Posts: 8
Joined: Wed Nov 24, 2021 11:01 am

Hmm, forget the questions, seem like somebody else said a Unity problem. Seems to work anyway.

Br
Kaj
Post Reply