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"

[Bug] [Pull Request] GetOverlappingComponents returns incorrect result

If I call GetOverlappingComponents node from OnComponentEndOverlap event callback it returns cached outdated array of components. But If I call GetOverlappingComponents by other event or action right after end overlap event it returns correct array. It seems like this event is triggered before the update of overlapping components.

Repro steps:

  1. Create new BP Rolling project;

  2. Create new Blueprint class and add in this BP root Scene two boxes with CollisionPresets property set as OverlapAll (1st screenshot);

  3. Add this new BP on Level scene in front of the ball;

  4. Open PhysicsBallBP and in EventGraph assign OnComponentEndOverlap event;

  5. Call GetOverlappingComponents in this event callback (2nd screenshot);

  6. Notice: it returns wrong value.

Project archive

It's reproduced in any projects. BP Rolling project is most convenient for bug demonstration.

alt text alt text alt text

Product Version: Not Selected
Tags:
more ▼

asked Apr 09 '15 at 08:52 PM in Bug Reports

avatar image

Acrossfy
427 15 32 164

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

1 answer: sort voted first

Please checkout my pull request with fix – https://github.com/EpicGames/UnrealEngine/pull/1044

more ▼

answered Apr 11 '15 at 11:53 AM

avatar image

Acrossfy
427 15 32 164

avatar image Acrossfy Apr 13 '15 at 03:40 PM

In case if anyone interested this bug already fixed in master branch.

(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