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"

Blueprint spawning breaks collisions/mesh in multiplayer

So... the issue: In singeplayer the game works perfectly fine, however in multiplayer with levelstreaming, the player character break(spesifically their mesh and collision box).

After some playing around with another talented person we were able to deduce that the issue comes from within the event which is spawning the players. Here is the event. https://i.imgur.com/V8gP2NJ.png

Seems fine enough to me.

and here is the player character is spawns. https://i.imgur.com/TIj5w5O.png

However, if inside the GM blueprints spawning section, i change it to spawn my PlayerCharacterParent, or just anything else, and them compile, it breaks the Player1 blueprint. https://i.imgur.com/sQUKg7K.png

The Player1 blueprints collision and mesh component (and the arrow but it's not so important) have been altered and rendered broken, this can be fixed with a quick recompile of the blueprint. But why is this getting changed in the first place? I am assuming if i can understand this, i can understand the problem as a whole.

Strangely enough it only breaks during multiplayer gameplay. (for everone, listen server and all) and yes the same spawn blueprint chunk runs for both, it's set up to detect if the game is singleplayer/multiplayer and act accordingly.

This issue has been plaguing me for about two weeks now, and me and my work partner are becoming very frustrated from the lack of progress due to this issue and how much time we have spent just trying to get our game to a testable stage.

somewhat proof that this is the issue: when we first identified the spawning as the issue, we changed the object being spawned, recompiled the GM and the player 1, and then reset it all back to player1, and it worked! perfectly in multiplayer, however when i tried to do the same for the other 3 player characters, it all broke again.

Any comments at all would be super appreciated, if you need any more info just say, i'm feeling pretty defeated right now. Thanks in advance.

Product Version: UE 4.18
Tags:
more ▼

asked Mar 15 '18 at 04:33 PM in Blueprint Scripting

avatar image

IDK name stolen
1 1 2 3

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

0 answers: sort voted first
Be the first one to answer this question
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