Description

Blueprint Node "Get Actors" for Layers in Level Blueprint causes crash in Packaged .exe

The Blueprint node "Get Actors" for Layers in the Level Blueprint causes an instant crash in a built development exe. This does not occur in any of the Editor modes (selected viewport, new Editor window, stand-alone or simulate) only in a packaged exe. The exe was built using a development configuration not shipping so it should presumably work. 

Steps to Reproduce

 *Note:*Please See ScreenShot for Logic Setup in Steps  7-10

  1. Create a new blank Blueprint project in Unreal 4.23
  2. Add Actors Into the World Viewport from the Basic Category in the Modes Panel (I added 2 Spheres and a Cube)
  3. Ctrl+ Select all Actors in the World Viewport.
  4. Navigate to Window->Layers->Right Click on the empty space in layers and select "Add Selected Actor's to a new Layer."
  5. Open up the Level Blueprint.
  6. Create a New Variable of Type "Actor Layer", and set reference to Layer1 from the Level.
  7. Create a Key Press Event by Right Clicking on the Event Graph->Keyboard Events-> 1
  8. Get a Reference to New Variable of Type "Actor Layer"
  9. Call Node "Get Actors" and loop through the return Array of Actor Layer.
  10. For each Array Element Call Get Display Name, off of the Return Value Call a Print String.
  11. Navigate to Project Settings->Maps & Modes-> Set Untitled Level to Default Level.
  12. Navigate to File-> Confirm Package Project for Development Mode-> Package for Windows 64.
  13. Run .Exe  Press the 1 key.

Result: Fatal Crash Error

Expected: Print Screen would print all Actors in the Scene.

[Image Removed]

Have Comments or More Details?

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

4
Login to Vote

Fixed
ComponentUE - Virtual Production
Affects Versions4.234.244.25
Target Fix4.26
Fix Commit14332948
Release Commit14332948
CreatedNov 21, 2019
ResolvedSep 24, 2020
UpdatedApr 28, 2021