Closed Microdust closed 9 years ago
Build with #UNITY_4_5 compilation flag for .NET 3.5 Client Profile. It works nice.
I had this exact same issue with XNA, Windows 8.1 on Visual Studio 2013 professional.
I replaced 'fi.SetMethod' to 'fi.GetSetMethod(true)' - I believe 'SetMethod' is just a shorthand for the latter. Works as intended for me. I also replaced 'fi.GetMethod' with 'fi.GetGetMethod(true).
(now uses GetSetMethod)
There seems to be a problem in Netbuffer.Read.Reflection and Netbuffer.Write.Reflection. at line 99 code: var setMethod = fi.SetMethod;
Error: Error 1 'System.Reflection.PropertyInfo' does not contain a definition for 'SetMethod' and no extension method 'SetMethod' accepting a first argument of type 'System.Reflection.PropertyInfo' could be found (are you missing a using directive or an assembly reference?)
I'm on Windows 8.1 Visual Studio 2013, Unity 5.