npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Bug on building feature #168

Closed PabloMonfort closed 2 years ago

PabloMonfort commented 3 years ago

There is a bug to me would be nice if you people tell me if have same bug, try to press build any building then before you put the construction on map go back to the ui and press building and there would be a duplicated transparent building shape that is not cleaning right and i dont know where this object comes from? i really wish to know more about that building transparent and the logic around it, how i can check this? coz i want to fix the bug. thanks.

npruehs commented 3 years ago

Hey @PabloMonfort !

Check ARTSPlayerController::BeginBuildingPlacement - it's probably a good idea not to spawn a new building cursor while there's still a valid one. If you got a nice, quick fix, feel free to open a pull request :)

Thanks!