Description

User reported that they are unable to save assets after running tests: https://answers.unrealengine.com/questions/742429/cannot-save-or-change-assets-after-running-a-autom.html

Steps to Reproduce
  1. In a C++ project, create a new automation test using the following implementation:

IMPLEMENT_SIMPLE_AUTOMATION_TEST(FWaitTest, "Repro.WaitTest", EAutomationTestFlags::EditorContext | EAutomationTestFlags::ProductFilter)

bool FWaitTest::RunTest(const FString& Parameters)
{{{}}
{{ ADD_LATENT_AUTOMATION_COMMAND(FWaitLatentCommand(360.f));}}
{{ return true;}}
}

  1. Compile and open the editor.
  2. Open the Session Frontend and run Repro.WaitTest.
  3. While the test is still running, click the Stop Tests button.
  4. Find and open a Blueprint asset in the project.
  5. Add a new variable and compile the BP.
  6. Save the BP.

RESULT: Blueprint does not save, and is still marked dirty

EXPECTED: Blueprint can save and dirty flag is removed.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-53777 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Automation Test
Affects Versions4.17
CreatedJan 5, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue