Unreal Startup says: The following member variable have invalid type

16112-capture.png

The following member variables have invalid type. Would you like to remove them?

Level Data
New Var

Whenever I start the unreal engine 4 project, the above pops in. It doesn’t matter I select OK or Cancel. It keeps appearing every time I start the project. Is there a way I can debug or fix this ?

Thanks for your time.

Hi gameme,

Make sure that these two variables are deleted and all references to them are removed in any blueprints. If you still get this error after that, post back and let us know.

Hi gameme,

We haven’t heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.

Thanks,
TJ

I had the same problem in 4.19.
The solution that helped me:
go to the C:/Users/Your_user_name/AppData/Local/UnrelEngine/4.19(or your engine version) and delete everything there.
After that the project launched without any error.

I hope it will help anybody who face the same problem