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"

Bug: OnComponentEndOverlap casting fails


I picked up an issue where casting from oncomponentendoverlap breaks. UE4 4.7.1

alt text

It states it creates an infinite loop

alt text

This is luckily not a deal breaker because i can instead run the event on the other actors removing the need to cast. I am not sure if this is intended behavior but i doubt it.

To reproduce the issue create an event for a component end overlap. And cast to the actor that triggers the end overlap.

Product Version: Not Selected
more ▼

asked Mar 01 '15 at 09:04 AM in Bug Reports

avatar image

422 26 37 53

avatar image Rudy Q ♦♦ STAFF Mar 02 '15 at 02:59 PM

Hello Crocopede,

I was unable to reproduce this issue on my end. I have a few questions for you to help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Could you send me a screen shot of both blueprints that are involved with this issue?

  2. Can you reproduce this in a clean project?

  3. If so, could you provide a detailed list of steps to reproduce this issue on our end?

avatar image Shayan Neherali May 08 '16 at 04:23 AM

Hi! i was able to sort of reproduce this error. In my case, when i use Begin overlap and cast it to my Character BP, it works fine, but if i cast it to my Main Character in End Overlap, I gives me an infinite loop error.

What am i doing wrong? i cant seem to find the infinite loop herealt text

ue.png (573.8 kB)
avatar image Shayan Neherali May 08 '16 at 04:41 AM

I tried using a cutom event but i still get the error i read other posts of people with similar error, tried a variable to trigger it only onve, still get infinite loop. now i really dont know what i am doing wrongalt text

ue2.png (657.5 kB)
avatar image Shayan Neherali May 08 '16 at 04:49 AM

After Experimenting i found out if i remove EndOverlap, it works fine. But if i put EndOverlap, it gives me an infinite error. How can i solve this? any help would be highly appreciated.

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

1 answer: sort voted first


I have not been able to reproduce in a clean project. Apologies. Must be project related then.

I must actually have an infinite loop somewhere there. even though i cannot see it. But as a workaround i just created the same event in reverse on the sedanBP.

I think this can be removed from bug reports and chalked up as user error. What made me think that it had to be a bug is that it only happens for that specific type of event.

For example I can cast to the BP if its a component HIT event. Or Component Overlapbegin event.

But the moment i use ComponentOverlapEnd then casting breaks saying infinite loop.

But on the sedan that specific event is working. Hmm. Maybe i created that event prior to the problem which would be an infinite loop. My bad.

alt text alt text alt text

more ▼

answered Mar 03 '15 at 05:59 AM

avatar image

422 26 37 53

(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