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] Function Param Name conflict with Variable Name on Restart

Well, this was a pain in the *** to debug.

Steps:

1: Setup up a UMG widget blueprint similar to (note the variable and function param of the same type with the same name): Fault

2: Call the function from BeginPlay on the level blueprint.

3: Reload the level (load the same level while it is playing).

4: Crash with cryptic error messages like: Message

One or more of the steps may be redundant, they're just what caused it in my case. Renaming the function param to something else (in this case NewMission) fixed the crash. This kind of name conflict is caught in C++, but I overlooked it here and no warning was provided. The error message was also quite useless. It's quite obvious there is a name conflict once you know it's there, as finding references to the variable also finds references to the param usages in-function.

Product Version: Not Selected
Tags:
fault.png (54.6 kB)
message.png (29.7 kB)
more ▼

asked Nov 11 '14 at 01:34 PM in Bug Reports

avatar image

valathil
1 1 1 2

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

1 answer: sort voted first

Hello valathil,

Thank you for all of the time and information you have provided on this issue. This is a known issue (UE-3531 ) and it has been sent it to the developers for further consideration. I will provide updates with any pertinent information as it becomes available.

Make it a great day

more ▼

answered Nov 12 '14 at 03:48 PM

avatar image

Rudy Q ♦♦ STAFF
47.5k 545 132 522

(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