刚刚打完一把退出来卡死了,直接重启了电脑,再打开就报错了,没有装任何MOD
Critical exception, stopping server…
'0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, T& value)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
at SPTarkov.Server.Core.Utils.JsonUtil.DeserializeFromFileAsync[T](String file)
at SPTarkov.Server.Core.Utils.JsonUtil.DeserializeFromFileAsync[T](String file)
at SPTarkov.Server.Core.Servers.SaveServer.LoadProfileAsync(MongoId sessionID)
at SPTarkov.Server.Core.Servers.SaveServer.LoadAsync()
at SPTarkov.Server.Core.Callbacks.SaveCallbacks.OnLoad()
at SPTarkov.Server.Core.Utils.App.InitializeAsync()
at SPTarkov.Server.Services.SptServerStartupService.Startup()
at SPTarkov.Server.Program.StartServer(String[] args)
Logger queue caught exception: System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.CancellationToken.ThrowIfCancellationRequested()
at System.Collections.Concurrent.BlockingCollection`1.TryTakeWithNoTimeValidation(T& item, Int32 millisecondsTimeout, CancellationToken cancellationToken, CancellationTokenSource combinedTokenSource)
at System.Collections.Concurrent.BlockingCollection`1.GetConsumingEnumerable(CancellationToken cancellationToken)+MoveNext()
at SPTarkov.Server.Core.Utils.Logger.SptLoggerQueueManager.LoggerWorkerThread()
=========================================================================================================
The server has unexpectedly stopped, please check your log files and reach out to #spt-support in discord
System.Text.Json.JsonException: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.
—> System.Text.Json.JsonReaderException: '0x00' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
at System.Text.Json.ThrowHelper.ThrowJsonReaderException(Utf8JsonReader& json, ExceptionResource resource, Byte nextByte, ReadOnlySpan`1 bytes)
at System.Text.Json.Utf8JsonReader.ConsumeValue(Byte marker)
at System.Text.Json.Utf8JsonReader.ReadFirstToken(Byte first)
at System.Text.Json.Utf8JsonReader.ReadSingleSegment()
at System.Text.Json.Utf8JsonReader.Read()
at System.Text.Json.JsonHelpers.TryAdvanceWithReadAhead(Utf8JsonReader& reader)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
— End of inner exception stack trace —
at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& state, JsonReaderException ex)
at System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, T& value, JsonSerializerOptions options, ReadStack& state)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.ContinueDeserialize(ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, T& value)
at System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.DeserializeAsync(Stream utf8Json, CancellationToken cancellationToken)
at SPTarkov.Server.Core.Utils.JsonUtil.DeserializeFromFileAsync[T](String file)
at SPTarkov.Server.Core.Utils.JsonUtil.DeserializeFromFileAsync[T](String file)
at SPTarkov.Server.Core.Servers.SaveServer.LoadProfileAsync(MongoId sessionID)
at SPTarkov.Server.Core.Servers.SaveServer.LoadAsync()
at SPTarkov.Server.Core.Callbacks.SaveCallbacks.OnLoad()
at SPTarkov.Server.Core.Utils.App.InitializeAsync()
at SPTarkov.Server.Services.SptServerStartupService.Startup()
at SPTarkov.Server.Program.StartServer(String[] args)
at SPTarkov.Server.Program.Main(String[] args)
=========================================================================================================
Press any key to exit…
4.0
文字描述
否
服务端报错
看起来是存档损坏了