"Accessed none trying to read property" error on SpawnActor

AI is server controlled. Unless you are the host (listen Server, Single player), AI on your screen are simulated proxies. Controller copies/references are not replicated. When they spawn on your client they will execute begin play. The cast will fail. If they have to reference As AI Enemy Base anywhere, it will fail and shoot an access none error.

Begin Play → Branch (Is Server) → execute logic