# StateTree Blueprint task Input/Context usage depends on the editor language

**URL:** <https://forums.unrealengine.com/t/statetree-blueprint-task-input-context-usage-depends-on-the-editor-language/2873954>\
**Category:** Programming & Scripting\
**Tags:** Epic-Pro-Support, unreal-engine, question\
**Created:** [October 22, 2026, 9:53am UTC](https://forums.unrealengine.com/t/statetree-blueprint-task-input-context-usage-depends-on-the-editor-language/2873954 "2026-10-22T09:53:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 22, 2026, 9:53am UTC](https://forums.unrealengine.com/t/statetree-blueprint-task-input-context-usage-depends-on-the-editor-language/2873954/1 "2026-10-22T09:53:12Z")

</div>

When a StateTree Blueprint task variable’s Category is picked from the dropdown in a Japanese editor, StateTree treats the variable differently per editor language. The StateTree compiles in Japanese but fails on our English build machines with:

Input property ‘B’ on Task ‘…’ is expected to have a binding.

The dropdown stores the localizable UObjectCategory text, and the Blueprint compiler writes the Category metadata as Variable.Category.ToString(), so it reads “入力” in Japanese. UE::StateTree::GetUsageFromMetaData only recognizes “Input”/“Output”/“Context”, so 入力 becomes an optional Parameter.

Repro (5.8.1, unchanged on ue5-main):

1. Japanese editor. In a StateTree Task Blueprint, type “Input” as variable A’s category.

2. For variable B, pick 入力 from the category dropdown.

3. Leave B unbound in a StateTree: it compiles. Load it with -culture=en: binding error.

This looks like the same root cause as UE-358593. Writing the culture-invariant source string to Category metadata in the BP compiler could fix both. Our local patch in `GetUsageFromMetaData`:

```auto
FString Category = Property->GetMetaData(CategoryName);
 
if (const UBlueprint* Blueprint = UBlueprint::GetBlueprintFromClass(Property->GetOwnerClass()))
 
{
 
	const FName VarName = Property->GetFName();
 
	if (const FBPVariableDescription* Variable = Blueprint->NewVariables.FindByPredicate([&VarName](const FBPVariableDescription& Desc) { return Desc.VarName == VarName; }))
 
	{
 
 Category = *FTextInspector::GetSourceString(Variable->Category);
 
	}
 
}

```

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![James.Keeling](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@James.Keeling](https://forums.unrealengine.com/u/James.Keeling)\
**Post date:** [October 28, 2026, 7:59pm UTC](https://forums.unrealengine.com/t/statetree-blueprint-task-input-context-usage-depends-on-the-editor-language/2873954/2 "2026-10-28T19:59:15Z")

</div>

Certainly an unintended bug! Your solution looks reasonable for adding locally. It does look like another issue we have found with localized text begin used in BP between different editor languages. I will look into putting something together for StateTree, but I do not know if this kind of fix will make it to UE5 or exist solely in the UE6 branch.

It would be possible to use a data validator to check that the categories were all typed in rather than chosen, but it would require you to type in all categories for already existing assets. It prevents an engine divergence, but it is also a very less-than-ideal scenario.

-James

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![GKH\_Louis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GKH\_Louis](https://forums.unrealengine.com/u/GKH_Louis)\
**Post date:** [December 5, 2026, 2:01pm UTC](https://forums.unrealengine.com/t/statetree-blueprint-task-input-context-usage-depends-on-the-editor-language/2873954/3 "2026-12-05T14:01:52Z")

</div>

Same issue reproduced with the Korean editor on UE 5.8.4 (Windows 11).

Steps:

1. Editor language: Korean.
2. Create a StateTree Task Blueprint and add an Actor object reference variable.
3. Pick “컨텍스트” (Context) for its Category from the dropdown.
4. Use the task in a StateTree with the StateTree AI Component schema.

Result: the Category is saved as “컨텍스트”, so GetUsageFromMetaData treats it as  
a Parameter instead of Context. The variable is not auto-bound to the context  
actor and stays None at runtime. The StateTree compiles without any error or  
warning.

Workaround: type “Context” in English into the Category field instead of using  
the dropdown.

The silent failure (no compile error for Context, unlike Input) made it hard to  
find. A data validator warning or a fix in the BP compiler would help  
non-English users a lot.
