Description

Spectator cameras don't seem to be set to the correct transform when the ChangeState/ClientGoToState functions are called when using a dedicated server.

After testing on a listen server, it appears to be working as expected so the behavior is not consistent when using a dedicated server vs. a listen server.

User states that the expected result should be set active camera/location/rotation from spectator and not from player controller.

Steps to Reproduce
  1. Open the attached project ([Link Removed])
  2. Play in New Windows with 2 Players (Ensure Run Dedicated Server is checked)
  3. Once the match starts, press the "1" key to switch to spectator
    (
    PC->ChangeState(NAME_Spectating);
    PC->ClientGotoState(NAME_Spectating);

    )

Result: The spectator camera is not switching to the view set in BP_Spectator

Expected: The spectator camera behavior would be consistent between a dedicated and a listen server

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

3
Login to Vote

Won't Fix
ComponentUE - Networking
Affects Versions4.144.154.19
CreatedApr 12, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021