ET7.2,unity版本2022.3.1f1c1
在编辑器上正常初始化正常运行。但是包装到安卓机上,在执行配置表加载方法的时候。有概率报错,导致整个进程卡住,无法进入正常的游戏初始化流程。注意:非必现!!!有可能连着好几次不报错,突然报错一下进不去了。这个时候杀掉进程。再打开又有概率能进去了。下面是详细报错,请知晓的大佬指教!多谢多谢!
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: index at ProtoBuf.Meta.BasicList+Node.get_Item (System.Int32 index) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.Meta.RuntimeTypeModel.Deserialize (System.Int32 key, System.Object value, ProtoBuf.ProtoReader source) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.ProtoReader.ReadTypedObject (System.Object value, System.Int32 key, ProtoBuf.ProtoReader reader, System.Type type) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.Serializers.ListDecorator.Read (System.Object value, ProtoBuf.ProtoReader source) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.Serializers.FieldDecorator.Read (System.Object value, ProtoBuf.ProtoReader source) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.Serializers.TypeSerializer.Read (System.Object value, ProtoBuf.ProtoReader source) [0×00000] in <00000000000000000000000000000000>:0
at ProtoBuf.Meta.TypeModel.Deserialize (System.IO.Stream source, System.Object value, System.Type type, ProtoBuf.SerializationContext context) [0×00000] in <00000000000000000000000000000000>:0
at ET.ProtobufHelper.Deserialize (System.Type type, System.Byte[] bytes, System.Int32 index, System.Int32 count) [0×00000] in <00000000000000000000000000000000>:0
at ET.ConfigComponent.LoadOneInThread (System.Type configType, System.Byte[] oneConfigBytes) [0×00000] in <00000000000000000000000000000000>:0