x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[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.

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:50 AM in Blueprint Scripting

avatar image

ue4-archive ♦♦ STAFF
50k 3670 2000 9125

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Mar 11 '14 at 02:50 AM

avatar image

ue4-archive ♦♦ STAFF
50k 3670 2000 9125

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

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

pure

alt text

19324-ss.jpg (140.1 kB)
19325-crash.jpg (188.4 kB)
avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:50 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question