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"

Blueprint interface function with the same name as a node gets fused

I wanted to use an interface for jumps and wondered why I was getting an infinite loop there.

  1. Starting with the third person template create a Blueprint Interface

  2. Call the single function "Jump"

  3. Implement it in the ThirdPersonCharacter blueprint alt text Every time I press jump it closes the game because of an infinite loop

If I rename the interface function at this point the original Jump node in the graph gets renamed too. alt text

And after this I noticed that while the interface node has an "ERROR!" and you hit undo 2 times or press compile first and hit undo 1 time the editor will crash. - Log file

Product Version: UE 4.18
bug1.png (96.3 kB)
bug2.png (74.1 kB)
more ▼

asked Nov 27 '17 at 07:23 PM in Bug Reports

avatar image

1 1 2

avatar image Jeff A ♦♦ STAFF Nov 27 '17 at 08:44 PM

Hey Vaji,

At a quick glance I think you are running into an infinite loop here because you have no way to stop jumping based on what I see here. The stop jumping node is not connected so that could be causing some problems.

Could you provide me with your project that is having this issue so I can troubleshoot with that. When creating a fresh project I am getting the error but I am not getting a crash.

Thank you.

avatar image vaji Nov 27 '17 at 08:52 PM

If I use another name for the Interface function no loop occurs and the character jumps properly so I think it's just an issue with duplicate names. I've only used the third person template with nothing else in it.

avatar image Jeff A ♦♦ STAFF Nov 28 '17 at 04:23 PM

That makes sense, in most cases naming an interface the exact same as something else is bound to cause problems sooner or later.

I am still not getting the crash however. If you could provide a more detailed list of steps that you have done so that there is no room for me misinterpret anything. I would appreciate it, Thanks.

avatar image vaji Nov 29 '17 at 06:38 PM

Then I would expect the editor not to compile this blueprint like it does if a blueprint function or custom event has the same name so there is no chance for undefined behaviour.
This only happens with inherited functions without any input and output. Anyway, I've attached a recording of the bug and the crash. crash

interface.zip (4.9 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Vaji,

Thank you for providing the video that made it very easy to reproduce. I have created a ticket for this crash that you can follow here UE-52847

more ▼

answered Nov 29 '17 at 09:09 PM

avatar image

Jeff A ♦♦ STAFF
3.3k 2 5 7

(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