We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ArgumentException: The type 'UnityEngine.RaycastHit&' may not be used as a type argument. System.RuntimeType.ThrowIfTypeNeverValidGenericArgument (System.RuntimeType type) (at :0) System.RuntimeType.SanityCheckGenericArguments (System.RuntimeType[] genericArguments, System.RuntimeType[] genericParamters) (at :0) System.RuntimeType.MakeGenericType (System.Type[] instantiation) (at :0) ToLuaExport.GenParamTypes (System.Reflection.ParameterInfo[] p, System.Reflection.MethodBase mb) (at Assets/ToLua/Editor/ToLuaExport.cs:2288) ToLuaExport.GenOverrideFuncBody (System.Reflection.MethodInfo md, System.Boolean beIf) (at Assets/ToLua/Editor/ToLuaExport.cs:2125) ToLuaExport.GenOverrideFunc (System.String name) (at Assets/ToLua/Editor/ToLuaExport.cs:2173) ToLuaExport.GenFunctions () (at Assets/ToLua/Editor/ToLuaExport.cs:881) ToLuaExport.Generate (System.String dir) (at Assets/ToLua/Editor/ToLuaExport.cs:401) ToLuaMenu.GenerateClassWraps () (at Assets/ToLua/Editor/ToLuaMenu.cs:318) ToLuaMenu.GenLuaAll () (at Assets/ToLua/Editor/ToLuaMenu.cs:808)
The text was updated successfully, but these errors were encountered:
我也遇到相同的问题,请问后面解决了吗
Sorry, something went wrong.
我用的2022版本,没有这个问题
No branches or pull requests
ArgumentException: The type 'UnityEngine.RaycastHit&' may not be used as a type argument.
System.RuntimeType.ThrowIfTypeNeverValidGenericArgument (System.RuntimeType type) (at :0)
System.RuntimeType.SanityCheckGenericArguments (System.RuntimeType[] genericArguments, System.RuntimeType[] genericParamters) (at :0)
System.RuntimeType.MakeGenericType (System.Type[] instantiation) (at :0)
ToLuaExport.GenParamTypes (System.Reflection.ParameterInfo[] p, System.Reflection.MethodBase mb) (at Assets/ToLua/Editor/ToLuaExport.cs:2288)
ToLuaExport.GenOverrideFuncBody (System.Reflection.MethodInfo md, System.Boolean beIf) (at Assets/ToLua/Editor/ToLuaExport.cs:2125)
ToLuaExport.GenOverrideFunc (System.String name) (at Assets/ToLua/Editor/ToLuaExport.cs:2173)
ToLuaExport.GenFunctions () (at Assets/ToLua/Editor/ToLuaExport.cs:881)
ToLuaExport.Generate (System.String dir) (at Assets/ToLua/Editor/ToLuaExport.cs:401)
ToLuaMenu.GenerateClassWraps () (at Assets/ToLua/Editor/ToLuaMenu.cs:318)
ToLuaMenu.GenLuaAll () (at Assets/ToLua/Editor/ToLuaMenu.cs:808)
The text was updated successfully, but these errors were encountered: