The FConstControllerIterator is failing…
it confusing the controller type.
I Know i have two APlayerControllers
But the iterator give me a APlayerControllers and a AIController (I have not spawned any AIController) in fact i think the AIController is actualy the host controller.
Basicly i did this…
for (FConstControllerIterator It = World->GetControllerIterator(); It; ++It)
{
if (const AController *Controller =
Cast<AController>(*It))
{
message::Error(Controller->GetName());
}
}
I don’t know what to say…
NOTE: the level is empty, i have nothing in there