Skip to content

lua重写ReceiveBeginPlay,加上蓝图调用【父类:ReceiveBeginPlay】的时候,会出问题 #722

@shuitian

Description

@shuitian

测试环境:
蓝图类

  1. DebugBattleBug
    只连了ReceiveBeginPlay
    image
    父类实现了unlua插件
    image

  2. DebugBattleBug_Child
    是DebugBattleBug的子类,蓝图里调用了父类的ReceiveBeginPlay
    image

  3. lua代码中,实现了ReceiveBeginPlay
    image

  4. 在测试场景中拖入两个DebugActor
    image

  5. 开始运行,会出问题

由于这里调用父类的ReceiveBeginPlay,实际上会调用到lua中去,又会调用到子类蓝图中,疑似出现死循环?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions