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 in editor when adding a new BP user function w/ same name as code-defined function

I just ran into an interesting crash. I was editing a blueprint derived from a C++ class with the BlueprintCallable function InitiateToxicGasEmissions(). I later added a new user function, and accidentally gave it the exact same name. It ran into an ensure() when I did that; here's the call stack and output.

alt text

Product Version: Not Selected
Tags:
more ▼

asked Sep 09 '14 at 06:58 PM in Bug Reports

avatar image

MSE_Taliesin
274 33 49 66

avatar image Tim C ♦♦ STAFF Sep 09 '14 at 08:22 PM

Hi,

I tried to reproduce this, and was only partially successful. I created a new code project using 4.4.1 and added a new Actor class with a BlueprintCallable function. I then created a Blueprint from the new Actor class and in the Graph tab I created a new function with the same name as the BlueprintCallable function I had created in the class code.

When I was debugging the project through Visual Studio, it triggered a breakpoint but I was able to continue. When I opened the project outside of Visual Studio, the project hung momentarily at this point but continued. In both cases, I just received an error message in the Editor stating that the function name had already been used (instead of seeing a crash).

Have you been able to reproduce this crash in a brand new project?

avatar image MSE_Taliesin Sep 09 '14 at 08:26 PM

Nope, I haven't. I could try to put something together but we're crunching for a milestone right now so I'm not sure if I'll be able to get to it anytime soon. Just wanted to give you guys a heads-up on this ... it's definitely not getting in our way or anything like that.

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

1 answer: sort voted first

Hey Mothership.Entertainment,

We appreciate the report, but without the ability to fully reproduce the issue, our report will be incomplete. For now, I'll mark this issue Resolved, but if you have any more insight into the bug, please let us know.

Thanks,

Jonathan

more ▼

answered Dec 30 '14 at 07:04 PM

(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