I have networked my line trace and the destroy actor but when i line trace on the server it will only hit the actor from the front.
Here is a gif showing what is happening. The hit object is being printed to show whats being hit.
This is the client as its being started on a dedicated server.
You can clearly see that im hitting the object but it is only registering it when im basically touching it
If i set the line trace to multicast it detects the object but it ignores the apply damage so the object does not get destroyed.
the object is replication.
Execute on server