Why will UE4 not launch a project when a self-written test contains check()?

Whenever I include check() in a self-written automation test, the coe is fine and builds perfectly, however when trying to open the project in UE4, it loads it with the splash logo then closes UE4, not showing any error. Taking away the check()'s solves this, however a lot of sample code uses check()'s so it should be possible to use.

check() is a assertion test, if it fails (inputted condition result is false) it crashes engine and print error in logs (it indeed not show anything), which by default is Assert failed:check() Condition. Engine heavily use assertion, you can read about this concept here: Assertion (software development) - Wikipedia. If you explore engine code you can see lot of checks

Hey there! If you’d be willing to share an example of a test (including declaration) where you’re seeing these check issues, I’d be happy to try to debug it!