egametang/ET · error
是否EffectServerBuffTick节点没有设置IsAI
Error message
是否EffectServerBuffTick节点没有设置IsAI
What it means
Error "是否EffectServerBuffTick节点没有设置IsAI" thrown in egametang/ET.
Source
Thrown at Packages/cn.etetet.spell/Scripts/Model/Share/ABTCoroutineHandler.cs:25
{
public virtual Type GetNodeType()
{
return typeof (Node);
}
public virtual int Handle(BTNode btNode, BTEnv env)
{
Node node = (Node)btNode;
Buff buff = env.GetEntity<Buff>(node.Buff);
#if UNITY_EDITOR
env.AddPath(node.Id);
#endif
BuffTickComponent buffTickComponent = buff.GetComponent<BuffTickComponent>();
if (buffTickComponent == null)
{
throw new Exception("是否EffectServerBuffTick节点没有设置IsAI");
}
#if UNITY_EDITOR
EventSystem.Instance.Publish(env.Scene.Entity, new BTRunTreeEvent() { Root = null, Env = env });
#endif
// 如果热重载了,那么hashcode会变化,不等于的话就会往下走取消当前协程
if (buffTickComponent.Current == node.Id && buffTickComponent.HashCode == this.GetHashCode())
{
return 0;
}
// 取消上一个协程
buffTickComponent.CancellationToken?.Cancel();
buffTickComponent.CancellationToken = null;
buffTickComponent.CancellationToken = new ETCancellationToken();
buffTickComponent.Current = node.Id;View on GitHub (pinned to 5cab01f7a8)
Solutions
- 在行为树编辑器中找到该 EffectServerBuffTick 节点并勾选 IsAI
- 检查导出的行为树配置中该节点 IsAI 字段是否为 true
Example fix
打开对应行为树资源,选中 EffectServerBuffTick 节点,将 IsAI 设为 true 后重新导出。
When it happens
Trigger: EffectServerBuffTick 节点未勾选 IsAI 标记,导致服务端 Buff Tick 协程节点配置不完整
Common situations: See trigger scenarios.
AI-assisted analysis of egametang/ET@5cab01f7a8 (2026-08-13).
Data as JSON: /api/errors/3ec902614ae3241d.
Report an issue: GitHub.