Description

The problem seems to be that FLevelSequenceBindingReference::Resolve () fails due to LoadPackageAsync() called in the FStreamableManager::StreamInternal() function.
The licensee reports that the problem is that the following call argument of FStreamableManager::StreamInternal () is incorrect.

\Engine\Private\StreamableManager.cpp
LoadPackageAsync(PackagePath, NAME_None /* PackageNameToCreate */, 

FLoadPackageAsyncDelegate::CreateSP(Handle, &FStreamableHandle::AsyncLoadCallbackWrapper, TargetName), PKG_None /* InPackageFlags */, Priority);

The InPIEInstanceID argument is set to Priority and the following implementation seems correct. With this change, the Level Sequence will be played.

LoadPackageAsync(PackagePath, NAME_None /* PackageNameToCreate */, FLoadPackageAsyncDelegate::CreateSP(Handle, &FStreamableHandle::AsyncLoadCallbackWrapper, TargetName), PKG_None /* InPackageFlags */, INDEX_NONE, Priority);
Steps to Reproduce

1. Download a sample project.
[Link Removed]
2. Open the project. This project has Async Load in the Level Blueprint.
[Image Removed]
3. Play In Editor will play the Level Sequence.
This issue does not occur in Editor.
[Image Removed]
4. Run .uproject with the argument -game.
In this case, the level sequence will not be played.

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions5.05.0.2
Target Fix5.1
Fix Commit21039074
Main Commit21039074
CreatedJul 25, 2022
ResolvedAug 8, 2022
UpdatedAug 12, 2022