Description

A customized struct with a TObjectPtr to an EditAnywhere, Instanced UObject will not show in full blueprint editor.

I narrowed this down to the SKismetInspector::IsPropertyVisible method. The property for the struct gets to the end of the method, and will always return false because the line:

return SelectedObjectProperties.Num() == 0;

Is always going to return true.

 
 
 
 

Steps to Reproduce
  1. Install InstancedClassesDetailPanelExample
  2. Create an instance of ATestActor
  3. View the  UTestActorComponent on the actor in the level editor details panel
  4. For the TestInfo property choose a value from the dropdown
    1. note the chosen FTestActorInfo struct details customization shows fine.
  5. Open the (lightweight) blueprint editor ffrom the details panel
    1. note that the chosen FTestActorInfo struct customization for TestInfo will show fine, still
  6. Click the link to open the full blueprint editor
  7. Select the  UTestActorComponent and locate the TestInfo property in the details panel, ensure a valid UObject is chosen from the dropdown

Expected result: The FTestActorInfo customization should show the object details

Actual Result: The details for the FTestActorInfo does not show

 
 
 
 
 
 
 

Have Comments or More Details?

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

0
Login to Vote

Non-Issue
ComponentUE - Editor - Workflow Systems
Affects Versions5.2
CreatedJun 18, 2023
ResolvedFeb 7, 2024
UpdatedFeb 7, 2024