I have implemented an Actor C++ class, which has a class type property that can be edited from within the editor. By default it is set to None, which would cause a crash in my code. In this case, I log an error and don’t execute the code.
Unless someone is actually looking at the Output Log, they will not notice what is wrong, and might suspect a bug instead. To prevent this, I’d like to stop playback and show an error notification (similar to other in-editor error notifications such as C++ compilation errors). How can I do this?