Whenever I close and reopen the Unreal Engine 5 Editor, any blueprints on which I added C++ components removes the C++ components entirely. I reference many variables in the BP from that C++ component and when that happens I needa relink everything.
Ion know why this happens, but starting the project from Visual Studio stops this from happening. Just a quick fix I found, hope this helps.