Reproduced 3/3 times, issue does not occur in //UE5/Release-5.0 - CL 20979098 Binary. Confirmed Regression.

Only seems to occur with User Defined Structs. Testing with other variable types, but all of them kept the toggle visible after migrating.

If you enabled the Expose On Spawn setting before migration to the blank project and try to spawn MyActor using the Spawn Actor from Class node the MyStruct pin will appear. If you add an additional MyStruct variable to MyActor after migrating, the toggle will still be missing. 

Steps to Reproduce
  1. Create a new struct call it MyStruct
  2. Create and open a new blueprint Actor called MyActor
  3. Add a new variable, set type to MyStruct
    1. You will see the expose on spawn variable setting will be available in the details panel when the MyStruct variable is selected
  4. Compile and Save.
  5. Create a new blank project, then return to your previous project
  6. Multi-Select MyStruct & MyActor, right click and select Asset Actions>Migrate
  7. Select the Content Directory of your new blank project
  8. Open the new blueprint in the new blank project and select the MyStruct variable

Actual Result: The toggle for "Expose on Spawn" is missing.

Expected Result: The toggle for "Expose on Spawn" is still there.

Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.1
Target Fix5.1.1
Fix Commit23738550
Main Commit23747902
Release Commit23738550
CreatedDec 14, 2022
ResolvedJan 17, 2023
UpdatedJul 26, 2023