Why does game crash when I try and go back to the main menu?

Hi, when I press back button, from my host page, the game crashes.

][2]

][5]

Hi, pretty self expla*

The user presses the back button on the screen, it changes the state, goes to the game instance, switches on the state. If Main Menu, then remove all widgets, see if the widget variable is valid, if not, make it valid, if yes, then add to view port.

Why the crash?

Hello Moynzy,

I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provides screen shots of the blueprints used in the reproduction of this issue?

Hey Mr Triplett,

Looking back, I started again and used the technique that “Multiplayer Shootout” used. That was using “Remove From Widget”.

In the project above, I think I was using “Hide Widget” or a different function that removes the Widget.

So I believe this meant that when the Engine tried to reload the Widget it would not find it?

Basically, I think it was memory issues due to my implementation.

You can safely delete/close/ this post.

Thanks for giving the post some attention!

Hello Moynzy,

I am happy to hear that it sounds like you have resolved your issue. I will be marking your last post as the answer to this thread. If this issue returns please feel free to reopen this thread by providing any additional information you may have in a reply.

Make it a great day