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.
asked Mar 15 '18 at 04:33 PM in Blueprint Scripting
IDK name stolen
Follow this question
Once you sign in you will be able to subscribe for any updates here