GameMode PreLogin ErrorMessage - How to display message on Client?

I’m doing some math and logic in PreLogin and if the criteria is not passed then I set the ErrorMessage with a helpful message. This works in that it effectively prevents the client from logging in. However I’m not sure how the Client can then access this ErrorMessage? How is it returned to the client?

Just google man!

**
Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h**

Well I was googling for PreLogin, Client, ErrorMessage, etc. Not for Network Error. My bad. :slight_smile:

Thank you very much!

It’s not your bad, what was actually provided here, doesn’t really answer the question. those network errors are not the same thing as the error message in the prelogin function. Nor does it pass that message back to the client. Did you ever find the solution to this?

1 Like

Yes, @Commander_Shepard you are incorrect. This is not related to PreLogin’s error messages.
I am also interested in knowing how to handle the messages on the client side.