The server has unexpectedly stopped, reach out to the support channel in our Discord server. Include a screenshot of
this message and the surrounding error(s) above and below
Object reference not set to an instance of an object.
at _MGMod.types.server.BotsServer.MGmodBots(MGModConfig_Bot BotSetting) in
E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\types\server\BotsServer.cs:line 65
at _MGMod.types.services.ConfigSettingServices.ModSetting() in
E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\types\services\ConfigSettingServices.cs:line 89
at _MGMod.MGmod.OnLoadAsync(CancellationToken cancellationToken) in
E:\Workdata\Git_repositories\MGModSeries\MGModSeries-CSharp\MGModServer\MGmod.cs:line 38
at SPTarkov.Server.Extensions.ProgramExtensions.RunPreSptLoadCallbacks(IServiceProvider serviceProvider, ILogger
logger, CancellationToken cancellationToken)
at SPTarkov.Server.Program.StartServerAfterModLoading(SptEarlyLoggerFactory loggerFactory, IReadOnlyDictionary`2
configuration, IServiceProvider earlyServiceProvider, List`1 loadedMods, StartupCancellation startupCancellation)
at SPTarkov.Server.Program.StartServer(SptEarlyLoggerFactory loggerFactory, String[] args, StartupCancellation
startupCancellation)
at SPTarkov.Server.Program.Main(String[] args)
Press any key to exit…









客户端启动器-点齿轮,进入设置-导出日志-日志发AI
重新安装自己好了
我也遇到同样的报错问题了
config.json的问题,莫名其妙里面的设置就丢了。变成了一堆null。
另外提醒一下根因:MGModEditor 在保存配置时把未配置的子模块写成了 null 而不是默认对象结构,这是编辑器的 bug,建议向模组作者反馈,后续用编辑器改配置时也要注意每次保存后检查是否又出现 null 。