Hello Syrill,
Can you try replacing the “cast to” node with a cast to the base Player Controller class instead of the blueprint to ensure that works first? If it does, perhaps your PlayerController isn’t being set to the correct class, which would cause the cast to fail.