UE5.4.0-preview-1: C2248 'TMemoryWriterBase<TSizedDefaultAllocator<32>>::IndexSize': cannot access private member declared in class 'TMemoryWriterBase<TSizedDefaultAllocator<32>>'

This appears to be a serious bug with the 5.4.0 code release that Epic needs to fix ASAP.

I’m hitting this as well. Upgraded my project to 5.4, and now I hit this error when compiling Shipping.

More info:

  • My project uses a built-from-source version of the Engine, but it is an unmodified 5.4 Engine build.
  • The Engine build does not hit this error.
  • I only see this error when building my project in Shipping configuration.
1 Like