Description

User is trying to use the Functional Test class to construct some automated test cases.

Whilst doing this they noticed that adding a BP_Actor (just a static mesh engine cube) that simply rotates (via AddLocalRotation) or does any other kind of 'simple movement' (AddActorLocalOffset) the Functional Test's Tick() never gets called (both inside the Test's BP and inside the cpp) when starting the test from either the command-line or through the SessionFrontend interface when the Navmesh is set to Dynamic.

Everything works as expected when this setting is set to Static or Dynamic-Modifiers Only. Alternatively they can leave this at 'dynamic' but disable 'Can Ever affect Navigation' on the actor's static mesh and everything works fine.

This was reported and tested in 4.21.2 (CL-4753647). This was reproduced in 4.20.3 (CL-4369336), 4.22 (CL-5439949), and Main 4.23 (CL-5492366)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank template project
  2. Create an Actor Blueprint and replace its DefaultSceneRoot with a Static Mesh component, set the Static Mesh to a Cube
  3. Drag off Event Tick and get an AddLocalRotation node, split the DeltaRotation pin and Set the Delta Rotation Y to -3.
  4. Create a Blueprint based off of FunctionalTest and add a print string off of its Event Tick
  5. Drag both the Actor and FunctionalTest Blueprints in the viewport
  6. Add a Navmesh volume to the map. Save the map
  7. Open Session Frontend, click on Automation, select the instance under "This Application, click the checkbox for Project, and then Start Tests
  8. Repeat the previous step after changing the Navmesh Runtime Generation to Dynamic

Or

  1. Download and open the attached project
  2. Open Session Frontend, click on Automation, select the instance under "This Application, click the checkbox for Project, and then Start Tests
  3. Repeat the previous step after changing the Navmesh Runtime Generation to Dynamic

Results: The FunctionalTest event won't be called in Session Frontend when the Navmesh is set to Dynamic

Expected: The FunctionalTest event is called in Session Frontend

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-71862 in the post.

1
Login to Vote

Unresolved
ComponentGameplay - AI
Affects Versions4.224.20.34.234.21.2
Target Fix4.23
CreatedMar 21, 2019
UpdatedMar 22, 2019