Description

When in PIE changing Actor Coloration view modes from the viewport visualisation mode [Liit] -> [Actor Coloration] -> ...

Does not update correctly when switching view mode and sometimes isn't correct for the view mode selected.

From reviewing the code in EditorViewportClient.cpp : ~2925
void FEditorViewportClient::ChangeActorColorationVisualizationMode(FName InName)

It uses the GWorld pointer, SetActivePrimitiveColorHandler(), changing this to GetWorld() appears to fix the issue.

Steps to Reproduce

Create a basic level with some basic static geometry, configured in a way such that any two actor colorizers would show different colors ( I placed 2 basic shapes, one in a sub level and one that affects/doesn't affect nav mesh)

PIE

Eject [F8] to the Debug Camera

Select a Actor Coloration -> Levels visualizer, and notice the colors are correct

Swap to your second visualizer Actor Coloration -> Affects Nav mesh and notice that the visualisation doesn't change.

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Graphics Features
Affects Versions5.45.65.7
CreatedJul 20, 2025
UpdatedJul 22, 2025
View Jira Issue