Skip to content

Fix dialog compatibility and semantic material initialization - #98

Open
winterclincke wants to merge 2 commits into
ydrive:mainfrom
winterclincke:fix/ue58-compatibility
Open

winterclincke wants to merge 2 commits into
ydrive:mainfrom
winterclincke:fix/ue58-compatibility

Conversation

@winterclincke

Copy link
Copy Markdown

Summary

  • Update five FMessageDialog calls to use the title-reference API, fixing compilation failures encountered on Unreal Engine 5.8.2.
  • Explicitly initialize the semantic material pointer to nullptr.

Validation

  • Builds successfully with Unreal Engine 5.8.2.
  • Non-rendering plugin startup/default-initialization check passes.

UE 5.8.2 compilation fails with MSVC C2665 at all five titled
FMessageDialog::Open calls in the CSV importer and render widget.
The available overload accepts const FText&, not const FText*.
Pass the existing title by reference without changing dialog behavior.

Validation: the original local build_plugin.log records all five errors;
build_dialog_fix.log records a successful rebuild after this change.
The installed UE 5.8 MessageDialog.h confirms the reference signature.
UE 5.8.2 editor startup reports that the reflected object property
FSemanticClass::PlainColorMaterialInstance is not initialized properly,
followed by automation condition failures.

Default construction leaves the raw pointer indeterminate, although
GetSemanticClassMaterial uses nullptr to decide whether to create it.
Initialize it to nullptr so default semantic classes are valid.

Validation: the original editor.log records the member-initialization
failure. Corrected editor sessions and subsequent semantic captures no
longer report it. This is an existing initialization defect observed on
UE 5.8, not a new annotation feature or a proven 5.8-only regression.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant