npruehs/ue4-rts

Builders won't assign to Construction Sites after adding an AIPlayerController

Opened this issue · 0 comments

I have a system where players can attack a building to capture it. When they do I switch it's team and run StartConstruction from the ConstructionSite component. This works and my debug text says as much.
When I add an AIPlayerController to my GameMode this functionality stops working. The building does switch teams and does switch construction states, but builders refuse to be assigned to it. My debug text tells me that it is staying at 0 progress. When I right click the building, my builder faces it and stops, no matter how close it is, and does nothing; it definitely isn't building though.

I haven't replicated this in the sample project, partially because building doesn't seem to work in that to begin with. My settings appear to match, though a lot of them are spread across so many components in this plugin I could have easily missed one or more.
The AIPlayer doesn't seem to do anything in either project, though I'm under the impression that this plugin doesn't provide any of that functionality out of the box; either way if that part is a bug I'll make another issue for it, I only mention it here in case it is related.