FAutomationEditorCommonUtils::CreateNewMap crashes the test in UE5

Well, it looks like at least I have a workaround for this.

class FMyAutomationTest : public FAutomationTestBase {
public:
	FMyAutomationTest(const FString &InName, bool bInComplexTask)
		: FAutomationTestBase(InName, bInComplexTask) {
	}

	virtual void AddError(const FString &InError, int32 StackOffset) override {
		if (InError.Contains("will be marked as failing due to errors being logged")) {
			return;
		}
		if (InError.Contains("EditCondition attempted to use an invalid operand")) {
			return;
		}
		FAutomationTestBase::AddError(InError, StackOffset);
	}
};
2 Likes