Closed sagasarate closed 1 year ago
最近把ILRuntime升级到了master最新版本,从新生成CLR绑定代码后出现了如下编译错误
Assets\Scripts\Generated\DOSSystem_CSmartStruct_Binding.cs(364,94): error CS1503: Argument 2: cannot convert from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List'
看了下主要是RetriveInt32,RetriveInt64,RetriveFloat的mStack参数要求类型是List,但传入的类型是IList
已解决,自己乌龙了,更新完ILRuntime没有重启unity,unity的编辑器扩展代码不重启不更新的,导致还在用旧的生成代码
最近把ILRuntime升级到了master最新版本,从新生成CLR绑定代码后出现了如下编译错误
Assets\Scripts\Generated\DOSSystem_CSmartStruct_Binding.cs(364,94): error CS1503: Argument 2: cannot convert from 'System.Collections.Generic.IList
看了下主要是RetriveInt32,RetriveInt64,RetriveFloat的mStack参数要求类型是List,但传入的类型是IList