Description

Using the Super functions for OnRegister, OnUnregister, Serialize when defining their functionality in a derived class of UPostProcessComponent causes a linker error.

Tested in 4.21.2 (CL - 4753647), 4.22.3 (CL - 7053642), 4.23 (CL - 7223779), 4.24 (CL - 7223946)

Steps to Reproduce
  1. Download the attached project
  2. Open the sln file
  3. Uncomment the code lines in the MyPostProcessComponent.cpp file
  4. Compile

 

Expected: The project compiles and opens

Result: Linker errors appear

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-76865 in the post.

2
Login to Vote

Backlogged
ComponentRendering - Features Teams
Affects Versions4.234.21.24.244.22.3
CreatedJul 5, 2019
UpdatedDec 10, 2019