Shutdown and EndPlay is not called

In my project, Shutdown and EndPlay are not called at all.
It started after the upgrade to version 4.20. In version 4.19 everything works fine.
Please tell me how to solve this problem?

for Shutdown I may agree with you cuz, whenver I call shutdonw to an interface it didnt not , but for Endplay , it works fine for me, just dont forget to call Super::Endplay() .

1 Like

I use Blueprint, not C++.

Then, the best way to make sure if they working, is add delay with print node set to 10 sec, so you can see inside the editor if there any output .

That won’t work. EndPlay ignores the delay.

Which class your blueprint is basing from?

Shutdown in GameInstance, EndPlay in GameMode.