Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UE] Bug: toDelegate函数返回的委托调用KismetSystemLibrary.K2_SetTimerDelegate没有成功创建定时器 #1667

Open
3 tasks done
lzj10 opened this issue Feb 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working Unreal

Comments

@lzj10
Copy link
Contributor

lzj10 commented Feb 29, 2024

前置阅读 | Pre-reading

Puer的版本 | Puer Version

6256231

UE的版本 | UE Version

5.2

发生在哪个平台 | Platform

Editor(win)

错误信息 | Error Message

UDynamicDelegateProxy对象GetWorld()返回Null,所以定时器没有创建成功
image

问题重现 | Bug reproduce

1、使用新的toDelegate构建委托,绑定uobject
image

2、使用该委托调用KismetSystemLibrary.K2_SetTimerDelegate,发现定时器没有被创建,委托函数没有被调用

@lzj10 lzj10 added bug Something isn't working Unreal labels Feb 29, 2024
@lzj10
Copy link
Contributor Author

lzj10 commented Feb 29, 2024

在创建的时候把owner传进去就可以用了,不确定可不可以这么改
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Unreal
Projects
None yet
Development

No branches or pull requests

2 participants