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"

Overlap events in Standalone behaving incorrectly

So I have a box component on an actor which I'm using as a trigger volume. However the overlap events are behaving incorrectly for the standalone build. As shown in these gifs, showing OnBeginOverlap

Here in PIE the overlap event prints all of the actors spawned in the tile as well as the Player when he enters, which is the intended behavior
https://gfycat.com/AnchoredRequiredBalloonfish

Here in the standalone version only the tile itself and the starting platform are printed https://gfycat.com/FamousWatchfulAmericanrobin

I've tested this on 4.15.3 and it appears to act the same. For completeness here is all code and blueprint related to the BoxComponent

Header:

 UPROPERTY(VisibleDefaultsOnly)
 UBoxComponent* BoundsVolume;

Constructor:

 BoundsVolume = CreateDefaultSubobject<UBoxComponent>(TEXT("Bounds Volume"));    
 BoundsVolume->SetupAttachment(RootComponent);
 BoundsVolume->SetCollisionProfileName(TEXT("Trigger"));

BeginPlay:

 BoundsVolume->OnComponentBeginOverlap.AddDynamic(this, &ATile::OnBoundsBeginOverlap);
 BoundsVolume->OnComponentEndOverlap.AddDynamic(this, &ATile::OnBoundsEndOverlap);

BP just printing the names: alt text

Product Version: UE 4.16
Tags:
more ▼

asked May 25 '17 at 02:50 PM in Bug Reports

avatar image

Superwig
26 3 8

avatar image Matthew J Jun 14 '17 at 08:21 PM

Hello Superwig,

I attempted reproducing what you've reported using the code you provided but I'm not seeing any discrepancies. Could you show the code/blueprint logic that "prints all of the actors spawned in the tile"? The blueprint logic shown would only output the name of the Character, since it's the overlapping actor and it is doing that correctly.

avatar image Superwig Jun 15 '17 at 07:50 AM

I forgot to mention that the tile is spawned into the world at beginplay. The code and blueprint that is printing the actors spawned is shown above, though as you can see in the second link provided that the Player isn't printed when he overlaps the new tile.

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

1 answer: sort voted first

Hello Superwig,

I apologize for the delay on this response but are you still experiencing this issue? If so, please let me know and provide what I previously asked for. Otherwise, I'll be marking this as resolved in the meantime for tracking purposes.

more ▼

answered Aug 30 '17 at 01:56 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