Error Messages:
System.Reflection.BindingFlags ReadSelectedTable Error = System.MissingMethodException: TABLE.xxx.rows Due to: Attempted to access a missing member. at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x0070c] in <567df3e0919241ba98db88bec4c6696f>:0 at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
Solution:
Unity2019
var rowsData = arrayType.InvokeMember(“rows”, BindingFlags.Public | BindingFlags.GetProperty | BindingFlags.Instance, null, arrayData, null);
tableRows = (rowsData as ICollection).GetEnumerator();
Similar Posts:
- Unity2018: How to Solve C# Project Open Error
- [Solved] Java Call Error: java.lang.IllegalArgumentException: wrong number of arguments
- [Solved] IllegalArgumentException: object is not an instance of declaring class
- [unity] to solve the problem of error reporting in the custom rule tile menu script of 2D extras
- [Solved] Java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Double
- 【Java】No enclosing instance of type XXX is accessible. Must qualify the allocation with an enclos…
- [Problems with the use of internal classes] No enclosing instance of type Outer is accessible. Must qualify the allocation with an enclo
- [Solved] Unity package error: Failed running C:\Users\AppData\Local\Unity\cache\packages
- Convert Object to List>, avoiding Unchecked cast: ‘java.lang.Object’ to ‘java.util.List
- Common attributes of unity inspector panel