Description

In the Blueprint Editor, Primitive Components can be configured to respond to Lighting Channels 0, 1, and/or 2. However, if channel 0 is disabled (even with another one enabled), the Preview Actor's component in the Viewport Tab will be completely unlit, which harms the usefulness of the preview. This happens because the Directional Light inside the Preview Scene used by the viewport is configured by default to respond to Channel 0 only, and there does not seem to be any way to change that.

A quick-and-easy fix for this problem would be to configure the Preview Scene's Directional Light to respond to all lighting channels (Engine\Source\Runtime\Engine\Private\PreviewScene.cpp:76).

A better fix might be allowing the user to freely configure the Lighting Channels of the Preview Scene's Directional Light, similarly to how the Preview Scene can be configured to some extent in the Static Mesh Editor and the Material Editor, for example.

Steps to Reproduce
  • Open any project
  • Create an Actor Blueprint
  • Edit the blueprint and open the Viewport tab
  • Add a "Cube" Static Mesh Component
  • Select the cube and change its "Lighting Channels" to only 1 or 2
  • The cube in the viewport will be unlit with no way to change that

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint Editor
Affects Versions5.4
Target Fix5.5
CreatedJun 28, 2024
UpdatedJul 15, 2024
View Jira Issue