My enemies dissapairs when not close to them?

Hello, i have this weird experience with my game…

I recently followed a tutorial based on waves system, but i saw that it’s only for singleplayer, i transformed as much as i could into a multiplayer to match my online subsystem steam workflow

But now… my servers see the enemies + allies from anywhere they are, but on clientside… they dissapairs by some odd reason…

Video of what i’m saying :

Where i set the enemies to show on owning client :

Spawn function :

Greetings @PsiclonexD

Have you looked into your render/draw distance? (IS this only with one specific mesh or multiple?

̶I̶s̶ ̶t̶h̶e̶ ̶s̶p̶a̶w̶n̶ ̶f̶u̶n̶c̶t̶i̶o̶n̶ ̶c̶a̶l̶l̶e̶d̶ ̶o̶n̶ ̶t̶h̶e̶ ̶s̶e̶r̶v̶e̶r̶?̶ ̶I̶s̶ ̶t̶h̶e̶ ̶m̶e̶s̶h̶ ̶i̶n̶v̶i̶s̶i̶b̶l̶e̶ ̶b̶y̶ ̶d̶e̶f̶a̶u̶l̶t̶ ̶(̶i̶n̶ ̶t̶h̶e̶ ̶c̶o̶m̶p̶o̶n̶e̶n̶t̶ ̶s̶e̶t̶t̶i̶n̶g̶s̶)̶?̶

̶I̶f̶ ̶t̶h̶e̶ ̶a̶n̶s̶w̶e̶r̶ ̶t̶o̶ ̶b̶o̶t̶h̶ ̶q̶u̶e̶s̶t̶i̶o̶n̶s̶ ̶i̶s̶ ̶y̶e̶s̶,̶ ̶t̶h̶e̶n̶ ̶t̶h̶e̶ ̶c̶o̶d̶e̶ ̶w̶o̶r̶k̶s̶ ̶c̶o̶r̶r̶e̶c̶t̶l̶y̶.̶

H̶e̶r̶e̶ i̶s̶ ̶m̶o̶r̶e̶ ̶d̶e̶t̶a̶i̶l̶ ̶a̶b̶o̶u̶t̶ ̶w̶h̶a̶t̶ ̶a̶n̶d̶ ̶w̶h̶e̶r̶e̶ ̶i̶s̶ ̶c̶a̶l̶l̶e̶d̶

FIX

I didn’t watch the video till the end :smirk:. The problem is Net Cull Distance…

When a character stops replicating (becomes irrelevant to the client) - it stops rendering on clients. This is a protection against cheaters.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.