Skip to content

[UE] 在有蓝图继承链的时候,现有的TS Mixin模式支持是否不够完善? #2362

Description

@HandsomeGiao

假设有蓝图A,蓝图A的派生蓝图B,TS脚本C和D分别Mixin A和B.
我按照unlua的那种方式,使用C派生出了D,我在C和D里面都重写了ReceiveBeginPlay函数,将蓝图B放入关卡开始游戏,UE Editor会因为访问空指针崩溃.是因为我的使用方式不对还是因为TS没有这方面的支持呢?
AI分析是因为当前的Mixin方式的原因,并且在做出修改后,这样方式也能够正确运行了,AI修改的代码可以看https://github.com/HandsomeGiao/puerts/tree/lihong/PuertsImprove_UE_5_8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions