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"

Setting Custom Event To Multicast Causes Crash

I am trying to replicate a function that calls AI animations from the server to clients. All the AI units are based on the superclass BaseUnit Base unit has the custom event EnemyFound_Event. Inside the base unit class, this event does nothing.

Every unit subclassing base unit implements this event by adding the Event Enemy Found Event to the event graph. Because these are inherited events, I can't change them in the individual subclasses. When I go to change the EnemyFound_Event in BaseUnit The engine crashes. Please review the full crash logs and let me know what I can do to fix this.

Repo Steps

  1. Create a new blueprint Called Test

  2. Create a custom event in Test called My_Event

  3. Save and compile Test

  4. Right click the Test blueprint and chose Create blueprint based on this

  5. Inside Test_Child add the Event My Event event to the event graph

  6. connect Event My Event to a print node.

  7. Save and compile Test_Child

  8. Open the Test blueprint

  9. Select the My_Event custom event and change it to multicast.

  10. Compile Test

  11. Engine crashes here.

Product Version: Not Selected
logs.zip (102.2 kB)
more ▼

asked Nov 13 '14 at 09:33 PM in Bug Reports

avatar image

2.1k 104 73 163

avatar image TJ V ♦♦ STAFF Nov 13 '14 at 11:03 PM

Hi Justin,

Thank you for the feedback. I was able to reproduce your crash and I have submitted this as JIRA report UE-5444 in our tracking software. Our developers will be looking into this further.

Unfortunately I don't have a workaround for you at this time. If you make the event multicast in the parent first, then create the child. The reference for the event in the child will have this error.

"Function's net flags don't match parent function's flags".

This is also a known issue that is being looked into at the moment and is JIRA report UE-3289 in our system.



avatar image Justin.Dooley Nov 13 '14 at 11:10 PM

Alright I'll see what I can do to determine a work around on my end. Not being able to replicate overloaded events seems like a major issue though. Is it a possibility that we might see it in 4.6 or is it simply not within the realm or possibility at this time?

avatar image TJ V ♦♦ STAFF Nov 14 '14 at 02:48 PM

It's very doubtful the fix will make it into 4.6., but it is possible you could see it as early as 4.7. Finding a crash bug like you did is quite helpful and should expedite the process a bit.

avatar image Justin.Dooley Nov 14 '14 at 04:12 PM

Thanks. If that's the case I will look into changing the way the system works so as to not inherit from a parent class.

avatar image stefanorie Nov 26 '14 at 01:50 PM

Is there any update on this? I'm trying to use toggleable powerups with a parent child structure and I can't seem to find a way to get it working without custom events.

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

1 answer: sort voted first

hi there,

i just submitted a fix that should address both the crash (assert) and the compile error on the child Blueprint.

change # 2375121 (in Perforce) -or- GitHub link: => https://github.com/EpicGames/UnrealEngine/commit/0b35b1015aa9b381ba3beceee423662af055c5ce

hope this helps! -phil.

more ▼

answered Dec 03 '14 at 07:45 PM

avatar image

phillip.kavan STAFF
146 3 5 5

(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