This is a regression from 5.3. It should be possible to inherit from ALight outside of the engine module without any sort of errors.

Case: [Link Removed]

Steps to Reproduce
  1. Create a class that derives from ALight in a custom project (see below for an example).
  2. Build the project.
  3. Observe linker error about a missing definition for ALight::PostLoad.
  4. Expected behavior: no linker errors when deriving from ALight.

class ATestLight : public ALight



Have Comments or More Details?

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

Login to Vote

ComponentUE - Gameplay
Affects Versions5.4
Target Fix5.4
Fix Commit31738260
Main Commit31744140
Release Commit31738416
CreatedFeb 22, 2024
ResolvedFeb 22, 2024
UpdatedMar 27, 2024
View Jira Issue