[Exception] : NullReferenceException: Object reference not set to an instance of an object
GClass358.get_MaxBulletCount () (at <8a5b326544954fa79c970c303424f3af>:0)
SAIN.SAINComponent.Classes.Decision.SelfActionDecisionClass.get_AmmoRatio () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SquadDecisionClass.StartSuppression (SAIN.SAINComponent.SAINComponentClass member) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SquadDecisionClass.EnemyDecision (SAIN.SquadDecision& Decision) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SquadDecisionClass.GetDecision (SAIN.SquadDecision& Decision) (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.GetDecision () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.Classes.Decision.SAINDecisionClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
SAIN.SAINComponent.SAINComponentClass.Update () (at <b1ffd80b761144a8a12222da6ae7f714>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class312:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
求大佬解惑进战局后一段时间客户端控制台一直在刷这样的报错代码,疯狂的吃内存。服务端无报错
3.6.1
已配图
是
客户端报错
能跑的起来,就算是屎山代码也无所谓。
说说打的mod
报错显示是SAIN的mod,最大子弹数?
我没用这个mod,一般只要服务端无报错,就都不重要。
可能是代码本身的问题,看看进入战局是否报错,如果进入战局不再报错,就是代码本身没有进行检查导致的。
比如我用的 AmandsSense 在不进入战局的时候就一直报错,进入战局后不报错就正常了。
是MOD的问题,有人在原作者的github反馈问题了