No announcement yet.

Viewport not possessing player when more than 1 player should spawn

  • Filter
  • Time
  • Show
Clear All
new posts

    Viewport not possessing player when more than 1 player should spawn

    Hello everybody.

    I'm taking my first steps in UE4 multiplayer programming. To do so, I bought Tom Looman's excelent course in udemy to help me get there a little bit faster.
    Unfortunately, I'm stumped in what to me should be one of the more straighforward steps, which is to actually spawn two controlable pawns in game.

    As per the title, whenever I try to spawn two or more players, the viewport simply doesn't control one of them, and instead stays locked in the same position. I can press F8 to move around and thus see the pawn is correctly spawned, but I can't control it. What is more strange, is that I can sort of dance around this issue by spawning 3 players, in which case I get two additional windows that can in fact be controlled, but the viewport stays the same.

    Engine version is 4.24.3.

    In addition, in my output I get the following messages :

    LogNet: Join succeeded: DESKTOP-RNJCVBL-5739
    LogNet: Client netspeed is 10000
    LogNet: Join request: /Game/FirstPersonCPP/Maps/FirstPersonExampleMap?PktLagMin=0?PktLagMax=0?PktLoss=0?PktIncomingLagMin=0?PktIncomingLagMax=0?PktIncomingLoss=0?Name=DESKTOP-RNJCVBL-DE69EB694233F52E98290DB15CCF335E?SplitscreenCount=1
    LogOnlineSession: Warning: OSS: No game present to join for session (GameSession)
    LogNet: Join succeeded: DESKTOP-RNJCVBL-DE69
    I don't know if this helps in some way, but I feel it probably does.

    Thanks in advance
    Last edited by Themap666; 03-26-2020, 03:18 PM.