The engine has a linker error when trying to inherit from TextureRenderTarget2D.

This seems related to

Found in 4.24.1 CL#10757647
Reproduced in 4.23.1 CL#9631420, 4.25 Main CL#10923120

Steps to Reproduce

1. Create a blank C++ project.
2. Create a new C++ class based on TextureRenderTarget2D.

Result: There is a linker error and the solution won't compile.

Expected: The file compiles without any issues.

Have Comments or More Details?

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

Login to Vote

Affects Versions4.
Target Fix4.26
CreatedJan 16, 2020
UpdatedFeb 27, 2020