Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BindingFlags and Invoke Member Unity 2017.1 #61

Open
nullorvoid opened this issue Jul 21, 2017 · 0 comments
Open

BindingFlags and Invoke Member Unity 2017.1 #61

nullorvoid opened this issue Jul 21, 2017 · 0 comments

Comments

@nullorvoid
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant