Editor crash at spawn actor call c++

From the log I reckon you did this:

check(world == nullptr);

check ensures that the given condition is valid, in this case above, you want to “ensure” that the world is not valid, you would need to change it to

check(world);