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"

Problem with splitscreen on runtime

I have a splitscreen gamemode in my game and when it loads into the level it's supposed to create 4 players which will then divide the screen into 4 sections normally.

The problem is when I load into the level sometimes the players won't spawn, upon reloading into the level it will then sometimes spawn 3, 2 and then finally 4 characters with some not being possessed.

It works perfectly in the editor but when I compile and run the game on its own it does this.

I have the function to spawn the characters on an event beginplay maybe that could be the issue?

here is the blueprint.

Spawning Character Blueprint

Any help is appreciated thanks!

Product Version: UE 4.20
more ▼

asked Mar 17 '19 at 08:06 PM in Blueprint Scripting

avatar image

112 3 5 8

avatar image Jinkuu Mar 18 '19 at 04:53 PM

I added a delay to the event beginplay and now none of them are spawning so I'm not really sure whats the problem at this point.

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

1 answer: sort voted first

I solved it by removing all four branches since it always returned false outside the editor, not sure why.

more ▼

answered Mar 21 '19 at 10:35 PM

avatar image

112 3 5 8

(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