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"

Level Streaming Load and Unload via Trigger Volumes doesn't work in a Standalone Game test

So my issue is only occurring when I deploy the game in 'Standalone Game'. In the editor viewport and PIE windows, it's fully functioning.

I've got two trigger boxes on two floors of a house. One on the ground loading three rooms and the other on top that will, when finished, load three rooms too.

This is the first load function I've made with the ground floor trigger volume below this paragraph. There is a sequence after the 'OnActorBeginOverlap' with nodes to load the separate levels all at once from the single volume when walked through and then unloaded when walked through again. (I did try with three separate volumes but the middle volume would always fail to load). Does anyone have any suggestions on how to make this work and, if needs are, improve it? alt text

I should add I'm not great with Level Streaming. I've read several articles and watched several videos about it and this system was the one that seemed straightforward enough to understand and write so I went with it but if this isn't correct, feedback and advice are greatly appreciated.

UPDATE #1: After another test, I managed to get a successful load on the levels but it takes several seconds in Standalone and it's instant in PIE and the viewport.

Thanks in advance!

Josh.

Product Version: UE 4.19
Tags:
capture.png (105.0 kB)
more ▼

asked Jul 26 '18 at 04:07 PM in Blueprint Scripting

avatar image

joshbridger
25 3 6 9

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

1 answer: sort voted first

First of all, add print string logging on all steps. From there you will understand which nodes are failed to execute.

I think you may have problem with volume itself, so it not fires Overlap event. Better use trigger actors with collision setting OverlapOnlyPawn.

And I'm not sure about that comparison of GetPlayerCaharacter and OtherActor. Maybe try to use cast to your player character class instead.

more ▼

answered Jul 26 '18 at 04:36 PM

avatar image

redbox
4.3k 82 20 104

(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