Description

When loading a Soft Object and directly placing the loaded Object into a Blackboard, after about 2 minutes the Object will unload and become null inside the Blackboard. This issue only occurs in a packaged game or when running the game in standalone.

Attached is a repro project with the listed steps setup.

This was reported and tested in 4.24.3 (CL-11590370). This was reproduced in 4.23.1 (CL-9631420), 4.25 Preview 2 (CL-12055273), and Main 4.26 (CL-12063615)

Steps to Reproduce
  1. Open the UE4 Editor and create a Blank project
  2. Create a BP actor: MyRandomActor
  3. Create a Blackboard: MyBB
  4. Add an Object variable inside the Blackboard: MyObject
  5. Create an AIController: MyAIC
  6. Add a Object (Soft Object) variable to the AIController and set the default value to MyRandomActor
  7. On Begin Play of MyAIC, load the soft object. Use the blackboard "MyBB" and set the MyObject value inside the blackboard to the loaded soft object
  8. On tick of MyAIC, print if the MyObject value on the Blackboard is valid
  9. Create a pawn to use MyAIC and place the pawn in the map
  10. Run the game in Standalone

Results: After 2 - 5 minutes have passed the Soft Object will be unloaded

Expected: The object should not unload since it's being stored in the blackboard. Expected to have the same behavior as when you store the loaded object to a variable.

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - AI
Affects Versions4.23.14.24.34.254.26
CreatedMar 11, 2020
ResolvedMar 12, 2020
UpdatedMar 12, 2020
View Jira Issue