Description

When setting bUseChecksInShipping to true in the PRojec's Target.cs file, the project will package successfully for Shipping but trigger an assert when it is launched. The error is also present when cross-compiling for Linux. In 4.23 Source the executable opens and doesn't throw a RHI assert.

Steps to Reproduce
  1. Create new project with a Source Build of the Engine
  2. In Project.Target.cs, add bUseChecksInShipping = true;
  3. Package the project for shipping
  4. Launch the project executable

Results: Triggers assert "CmdList.Context || CmdList.ComputeContext" as immediate command list is being executed in RHIUnlockIndexBuffer before getting assigned a context during engine init

Expected: Build starts without triggering assert

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.24.14.25
Target Fix4.24.2
Fix Commit10942789
Main Commit10942847
Release Commit10951991
CreatedDec 23, 2019
ResolvedJan 10, 2020
UpdatedJan 26, 2021