Hi Justine,
What do you mean nothing happens? Do you mean that nothing happened after the execution of the statement “PlayFabClientAPI.ForgetAllCredentials();”? What PlayFabClientAPI.ForgetAllCredentials does is to clear the Client SessionToken which allows this Client to call API calls requiring login. You can test making API calls after you clicked logout button to see if they require you to login, if they do, it means that PlayFabClientAPI. ForgetAllCredentials has taken effect.
2 People are following this question.