[UE] Bug: mixin蓝图使用super关键字(super调用蓝图的父类中ReceiveBeginPlay),能调用蓝图中的ReceiveBeginPlay节点,但当蓝图是ts的继承引擎类的代理蓝图时,也只能调用蓝图方法,但调用的不了ts中的ReceiveBeginPlay,这是故意这样设计的吗?
前置阅读 | Pre-reading
Puer的版本 | Puer Version
Unreal_v1.0.8
UE的版本 | UE Version
5.4
发生在哪个平台 | Platform
Editor(win)
错误信息 | Error Message
No response
问题重现 | Bug reproduce
如标题
应该是js的设定,至少v8是这样,super绑定哪个函数是运行时这个类第一次编译的时候查找,查找到哪个是哪个。
后面我又测试了下,直接运行继承引擎类的ReceiveBeginPlay居然执行的是蓝图的逻辑,这导致我将ts中ReceiveBeginPlay逻辑又移到一个新函数中,在蓝图ReceiveBeginPlay去连新函数的节点调用,才让我功能能用,这是我在5.4用1.0.8发现的,之前5.1用1.0.5版本ReceiveBeginPlay逻辑是正常的,能运行ts的ReceiveBeginPlay。
Like @.***
------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2025年6月9日(星期一) 中午11:13 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [Tencent/puerts] [UE] Bug: mixin蓝图使用super关键字(super调用蓝图的父类中ReceiveBeginPlay),能调用蓝图中的ReceiveBeginPlay节点,但当蓝图是ts的继承引擎类的代理蓝图时,也只能调用蓝图方法,但调用的不了ts中的ReceiveBeginPlay,这是故意这样设计的吗? (Issue #2076)
chexiongsheng left a comment (Tencent/puerts#2076)
应该是js的设定,至少v8是这样,super绑定哪个函数是运行时这个类第一次编译的时候查找,查找到哪个是哪个。
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>