HaywireInteractive / OnAllFronts-Public

UE5 MilSim FPS / RTS Game (formerly ProjectM)
MIT License
127 stars 24 forks source link

Fix error when server is separate process about WidgetComponentAmmoPickup #866

Closed Leroy231 closed 8 months ago

Leroy231 commented 8 months ago

To reproduce:

  1. Open L_MediumWithObstacles
  2. Set net mode to client
  3. Right below where you set net mode click Advanced Settings
  4. Multiplayer Options > Run Under One Process > uncheck this box
  5. Play in Standalone Game > Additional Launch Parameters > type in that box: -log
  6. Run PIE
  7. Notice a new window popup for the server process and it'll have log message:

    LogWidgetComponentAmmoPickup: Error: Widget is not set in the component in Human_Character_US_C_0 Actor

Server probably shouldn't do any logic related to this WidgetComponentAmmoPickup since it doesn't render widgets.