Description

When changing the variable type of a variable in a struct, it can cause some pins related to arrays of this struct to become disconnected. The project provided was from the Marketplace, entitled "Survival Game Template" and has been the only place where we can reproduce this issue.

Project: [Link Removed]

There is a similar issue to this (UE-27652) that a user fixed with a PR but this problem has different reproduction steps and seems to be quite a bit different.

Regression?: NO
This occurred as far back as 4.10.4

Steps to Reproduce
  1. Download the project in the description
  2. Open the project
  3. Open the STR_SGT_ItemWeapon under Content/SGT_Content/Blueprints/Inventory/DataStructs
  4. Change the "AttachMesh" variable from a Skeletal Mesh to a Static Mesh
  5. Return to the level editor and select File > Save All
  6. Close and reopen the project
  7. Press Play and notice that errors appear
  8. Open the Widget BP entitled "UI_SGT_InventoryMain" under Content/SGT_Content/Blueprints/Inventory/Widgets
  9. Select Graph at the top right
    Result: The pin between the Get In Inventory node and the reroute node leading to the "Array" input for the ForEachLoop is broken
    Expected: The pin should still be connected

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

8
Login to Vote

Cannot Reproduce
ComponentGameplay - Blueprint
Affects Versions4.104.114.124.13
CreatedJun 6, 2016
ResolvedNov 27, 2017
UpdatedNov 27, 2017