How not break Project if C++ classes not loaded?

I’ve so far not used C++ Classes due to my Project ending up broken if it’s not loaded properly. I must be doing something wrong, is there a way I can make it stable?

Always check if all pointer/references exist.

C++ and blueprints are total mess. Editor loves to ignore updates done in c++, this sometimes leads to wrong values or wrong types of variables.

So always put checks of variables that come from different class or blueprints.

Also, again about yellow rubber duck aka ChatGpt, you can get it or any other LLM. And ask how do i improve this function to be more stable and not cause crashes, and paste your code. LLMs are good enough to find and point any unsafe stuff. They fail on more logical and complicated tasks, but to check for usual code instability mistakes LLMs are golden.

oh and get debuger symbols for editor that unreal crash window will display better info.

1 Like