Blueprint could not be loaded because it derives from an invalid class

It’s been happening to me for a while , I am using the latest 5.0.1 (was happening on 5.0.0 too , but didn’t happen on 4.27 versions) : (