How to keep replicated actors from falling through streaming levels.
I'm using a dedicated server with World Composition with client side level streaming and I'm trying to figure out how to keep replicating actors from falling through the landscape on load.
Issue Example: A replicated vehicle pawn is spawned on the server (I've put in logs to confirm the car's location is correct and its just sitting there). When a client joins the server, the server replicates correctly to the client and spawns the vehicle at the correct location. The issue is that i think physics calculations are ran on both server and client, but the client doesnt have its landscape loaded yet so the car falls. I'm assuming because the vehicle never moves on the server it never replicates and syncs up the clients falling car.
Has anyone had this issue and solved it in a clean global way for all actors that have gravity?
asked Nov 03 '18 at 02:58 AM in Using UE4
You need to add a ground plane or collision in the persistent level to prevent things from falling through when loading and and unloading levels. Or make sure there is a ground plane / collision inside each level.
answered Nov 03 '18 at 06:39 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here