You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled exception. Lagrange.Core.Exceptions.LagrangeException: An error occurred while sending the event
---> System.PlatformNotSupportedException: Operation is not supported on this platform.
at Lagrange.Proto.Primitives.ProtoWriter.EncodeVarInt[T](T value)
at Lagrange.Core.Internal.Packets.System.SsoInfoSyncRequest.SerializeHandler(SsoInfoSyncRequest obj, ProtoWriter writer)
at Lagrange.Proto.Serialization.ProtoSerializer.SerializeProtoPackableCore[T](ProtoWriter writer, T obj)
at Lagrange.Proto.Serialization.ProtoSerializer.SerializeProtoPackable[T](IBufferWriter`1 dest, T obj)
at Lagrange.Core.Utility.ProtoHelper.Serialize[T](T value)
at Lagrange.Core.Internal.Services.System.InfoSyncService.Build(InfoSyncEventReq input, BotContext context)
at Lagrange.Core.Internal.Context.ServiceContext.Resolve(ProtocolEvent event)
at Lagrange.Core.Internal.Context.EventContext.SendEvent[T](ProtocolEvent event)
--- End of inner exception stack trace ---
at Lagrange.Core.Internal.Context.EventContext.SendEvent[T](ProtocolEvent event)
at Lagrange.Core.Internal.Logic.WtExchangeLogic.Online()
at Lagrange.Core.Internal.Logic.WtExchangeLogic.ManualLogin(Int64 uin, String password)
at Lagrange.Core.Internal.Logic.WtExchangeLogic.Login(Int64 uin, String password, CancellationToken token)
版本
环境
.NET 8.0, Ubuntu 22.04.5 LTS, arm64
具体问题
登录过程中抛出异常,并因此导致登录失败。自行构建后问题解决
复现方式
期望的结果
直接使用 nuget 包不会抛出此异常
附件
自行构建的 dll:Lagrange.Proto.dll.zip