AI perception Runs on Both Client and Server.


I have been experimenting with networking and I noticed that on Target Perception Updated gets called by both Server and Client I was thinking about making this only run on server as having clients executing their own function seems pointless because in the end its up to the server to actually authorize if the AI can Attack a player or not?

I may be overthinking this but I suppose this can work both ways, What if AI Perception is local? will it save bandwidth since The Agent is replicated it will still go the its target to attack but all the perception handling will be done locally.