Skip to content

BindingFlags and Invoke Member Unity 2017.1 #61

Description

@nullorvoid

Description

In the new upgrade with .Net 4.6 Experimental the BindingFlags in SetupModules will need to be updated to

BindingFlags staticProperty = BindingFlags.InvokeMethod | BindingFlags.GetField | BindingFlags.GetProperty;
BindingFlags publicMethod = BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance;

Not sure what changed or whether it is just the experimental version of Unity, but currently this is breaking.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions