Sweep for Collision before Spawn

You can use something like GetWorld()->OverlapMulti to do a collision test. You can’t test for specific classes, but you can look for specific ‘object types’ and then filter the results yourself. I talk about that a bit here: Collision Filtering - Unreal Engine

You don’t need to compare ‘UniqueID’ to see if Actors are the same, you can just compare pointers!