From f72482dbf81fa48930b71e2a28f8767b78e49141 Mon Sep 17 00:00:00 2001 From: Kakarot Date: Fri, 4 Dec 2026 09:44:55 -0600 Subject: [PATCH] Check: the built-in effect warning says the game has the effect, not "update the plugin" The NS_Mantle* effect systems are cooked into the game client; the plugin ships no assets, so a creator project never has them and the old advice ("Update the Mantle Core plugin") sent creators looking for a build that doesn't exist. The warning now says the effect only shows nothing in the editor and players see it in game. Co-Authored-By: Claude Opus 5.5 --- Source/MantleEditor/Private/MantlePlaceValidator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/MantleEditor/Private/MantlePlaceValidator.cpp b/Source/MantleEditor/Private/MantlePlaceValidator.cpp index 6ab3d53a..610a95fd 100644 --- a/Source/MantleEditor/Private/MantlePlaceValidator.cpp +++ b/Source/MantleEditor/Private/MantlePlaceValidator.cpp @@ -910,15 +910,17 @@ namespace { Result.Issues.Add(FMantleValidationIssue{ EMantleIssueSeverity::Error, LabelOf(Actor), Problem, TEXT("Change it in the effect's Details panel.") }); } + // The effect systems are cooked into the game client (mantle client/Content/Mantle/Effects); the plugin ships no assets, so a + // creator's project normally lacks them. Players see the effect; only this editor's preview draws nothing. const FSoftObjectPath System(FMantleEffects::SystemPath(Props.Archetype)); if (!FPackageName::DoesPackageExist(System.GetLongPackageName())) { Result.Issues.Add(FMantleValidationIssue{ EMantleIssueSeverity::Warning, LabelOf(Actor), - FString::Printf(TEXT("is a %s effect, whose system (%s) this Mantle Core does not have yet, so it shows nothing here or for players."), + FString::Printf(TEXT("is a %s effect. It shows nothing in this editor, because the effect itself (%s) is part of the Mantle game, not this project."), FMantleEffects::ArchetypeDisplayName(Props.Archetype), *System.ToString()), - TEXT("Update the Mantle Core plugin; the place still publishes, and the effect appears once players' clients have it.") }); + TEXT("Nothing to do: the place publishes and players see the effect in game.") }); } }