MemoryPack icon indicating copy to clipboard operation
MemoryPack copied to clipboard

ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: capacity

Open 79loli opened this issue 1 year ago • 3 comments

ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: capacity System.Collections.Generic.HashSet1[T]..ctor (System.Int32 capacity, System.Collections.Generic.IEqualityComparer1[T] comparer) (at <378523c1e6ba4db992c5a1e98a5541ae>:0) MemoryPack.Formatters.HashSetFormatter1[T].Deserialize (MemoryPack.MemoryPackReader& reader, System.Collections.Generic.HashSet1[T]& value) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/Formatters/CollectionFormatters.cs:411) UserInfoSave.Deserialize (MemoryPack.MemoryPackReader& reader, UserInfoSave& value) (at MemoryPack.Generator.Roslyn3/MemoryPack.Generator.MemoryPackGenerator/UserInfoSave.MemoryPackFormatter.g.cs:215) UserInfoSave+UserInfoSaveFormatter.Deserialize (MemoryPack.MemoryPackReader& reader, UserInfoSave& value) (at MemoryPack.Generator.Roslyn3/MemoryPack.Generator.MemoryPackGenerator/UserInfoSave.MemoryPackFormatter.g.cs:280) MemoryPack.MemoryPackSerializer.Deserialize[T] (System.Buffers.ReadOnlySequence`1[System.Byte]& buffer, T& value, MemoryPack.MemoryPackSerializerOptions options) (at Assets/Plugins/MemoryPack/Runtime/MemoryPack.Core/MemoryPackSerializer.Deserialize.cs:81)

79loli avatar Nov 14 '24 14:11 79loli