Description

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.

UCLASS()
class ATestLight : public ALight

{     GENERATED_BODY() }

;

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.

0
Login to Vote

Fixed
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