[CRASH] Calling pure function with timer

Found a guaranteed crash.

If you set a timer calling a pure function. then add an input node and a return node to that function.
when it’s being called it’ll crash.

I know this isn’t what you should be doing. but It gave me a little wild goose chase due to the lack of compile warning.

I just realize this had nothing to do with pure function. On further testing. All you need to crash the system is calling a function with parameter with a timer.

Hi Jeremy,

I am investigating this issue, but having some problems reproducing it. Could you please give a step-by-step guide for exactly what you did to cause the crash? Including an image could also help us see exactly what is causing the issue.

Thank you,

Alexander

TUTORIAL : How to crash the game by calling function with timers.
(added screenshot )

  1. Create New Blueprint extending from Actor

  2. Edit Blueprint–> Goto EventGraph
    Create a new function ( I name it “abc” ). Add an output parameter to the function( any type ). Hook the start of the function to the return node’s activation.

In the event graph hook EventBeginPlay to a timer ( 1sec ) running the “abc” function.

Place blueprint in level. Start the game.
In 1 second it will crash.

Here’s screenshot

Hey Jeremy,

I was able to reproduce the issue with these instructions. I have compared it to our latest internal build and it has been resolved. This will no longer be occurring in a future build of Rocket.

Thank you,

Alexander