This is not a regression tested in //UE5/Release-5.0 CL20979098

An added Static Mesh component with Mobility set to Static disappears at run time if the Actor is moved.

Steps to Reproduce
  1. Create or open any project
  2. Create a new Blueprint Actor
    1. In the Event Graph from Event BeginPlay create an 'Add Static Mesh Component'
    2. Set the Relative Transform using a 'Get Actor Transform' node
    3. Off the Return value create a 'Set Static Mesh' node then connect the execution pins
    4. Set the New Mesh input to Shape_Cone
    5. Off the Return Value from the 'Add Static Mesh Component' create a 'Set Mobility' node then connect the execution pins
    6. Set the New Mobility to Static
    7. Compile, save, and close the Blueprint
  3. Place the Actor in the scene
  4. Play in Editor ensuring you are active in the viewport
  5. Press F8 to eject
  6. Select the Actor then in the Details Panel slightly drag the X, Y, or Z value of the actor

Expected Results:
The Cone to not disappear. If the same nodes are ran before run time(construction script) the cone doesn't disappear and moves.

Actual Results:
The Cone disappears.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint
Affects Versions5.1
CreatedJan 3, 2023
UpdatedFeb 16, 2024