# \[UE 5.8.1\]\[Unreal MCP\] ObjectTools.get\_properties crashes Editor with FName max length assertion when passed list\_properties schema 

**URL:** <https://forums.unrealengine.com/t/ue-5-8-1-unreal-mcp-objecttools-get-properties-crashes-editor-with-fname-max-length-assertion-when-passed-list-properties-schema/2743344>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine\
**Created:** [August 12, 2026, 7:07pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-unreal-mcp-objecttools-get-properties-crashes-editor-with-fname-max-length-assertion-when-passed-list-properties-schema/2743344 "2026-08-12T19:07:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ceee824cccb742ec8c5a83180cf298c3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ceee824cccb742ec8c5a83180cf298c3](https://forums.unrealengine.com/u/ceee824cccb742ec8c5a83180cf298c3)\
**Post date:** [August 12, 2026, 7:07pm UTC](https://forums.unrealengine.com/t/ue-5-8-1-unreal-mcp-objecttools-get-properties-crashes-editor-with-fname-max-length-assertion-when-passed-list-properties-schema/2743344/1 "2026-08-12T19:07:07Z")

</div>

### Summary

In Unreal Engine 5.8.1, the experimental Unreal MCP ObjectTools.get\_properties tool can crash the Unreal Editor if a JSON Schema object returned by ObjectTools.list\_properties is mistakenly passed to the properties argument.

Instead of rejecting the invalid argument and returning a tool/MCP error, the conversion path attempts to convert the entire JSON Schema to an Unreal FName.

In my case, the schema was 71,624 characters long, causing the following assertion:

FName’s 1023 max length exceeded.  
Got 71624 characters excluding null-terminator.

The crash occurred while querying the WorldSettings object in Lvl\_ThirdPerson.

ObjectTools.list\_properties itself did not crash the Editor. The crash occurred on the subsequent ObjectTools.get\_properties call.

Expected behavior:  
get\_properties should validate its properties argument and return an invalid-argument/tool error when it receives a schema object instead of property-name strings. Invalid MCP input should not crash the Unreal Editor.

### What Type of Bug are you experiencing?

Editor

### Steps to Reproduce

1. Launch Unreal Engine 5.8.1 on Windows with the experimental ModelContextProtocol, EditorToolset, and ToolsetRegistry plugins enabled.

2. Start the Unreal MCP server and connect an MCP client.

3. Open Lvl\_ThirdPerson and obtain its WorldSettings object.

4. Call:  
editor\_toolset.toolsets.object.ObjectTools.list\_properties  
for the WorldSettings object.

5. list\_properties returns a JSON Schema object similar to:

{  
“returnValue”: {  
“visibilityCellSize”: {  
“type”: “integer”,  
“description”: “…”  
},  
“defaultGameMode”: {  
“type”: “object”,  
“description”: “…”  
}  
}  
}

1. Pass the returned schema object itself to the “properties” argument of:  
editor\_toolset.toolsets.object.ObjectTools.get\_properties  
through the MCP call\_tool interface, instead of passing an array/list of property-name strings.

2. Unreal Editor asserts and crashes.

### Expected Result

ObjectTools.get\_properties should validate the “properties” argument before attempting Unreal type conversion.

If a JSON Schema object or any other invalid type is supplied instead of valid property-name strings, the MCP tool should return an invalid-argument/tool-call error.

Invalid MCP input should not crash the Unreal Editor process.

### Observed Result

Unreal Editor crashes with an assertion while ObjectTools.get\_properties is processing the invalid input.

Assertion failed: false

FName’s 1023 max length exceeded.  
Got 71624 characters excluding null-terminator:

{“visibilityCellSize”:{“type”:“integer”,“description”:…

The Script Stack identifies:

/EditorToolset/Python/editor\_toolset/toolsets/object\_PY.ObjectTools.get\_properties

ObjectTools.list\_properties itself did not crash the Editor. The crash occurred on the subsequent get\_properties call after the returned JSON Schema object was incorrectly passed as the properties argument.

### Affects Versions

5.8

### Platform(s)

Windows

### Upload an image

 ![bug.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/9/bb926423ba72bcf3e42a3c91bf59967a371df9a8.png)

### For crash reports, include your callstack

Assertion failed: false  
FName’s 1023 max length exceeded.  
Got 71624 characters excluding null-terminator.

UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_CoreUObject  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
python311  
python311  
python311  
python311  
python311  
python311  
python311  
python311  
python311  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_PythonScriptPlugin  
UnrealEditor\_CoreUObject  
UnrealEditor\_ToolsetRegistry  
UnrealEditor\_ToolsetRegistry  
UnrealEditor\_ToolsetRegistry  
UnrealEditor\_ToolsetRegistry  
UnrealEditor\_ModelContextProtocolEditor  
UnrealEditor\_ModelContextProtocolEditor  
UnrealEditor\_ModelContextProtocol  
UnrealEditor\_ModelContextProtocol  
UnrealEditor\_ModelContextProtocol  
UnrealEditor\_ModelContextProtocol  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_HTTPServer  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
UnrealEditor  
kernel32  
ntdll

### Additional Notes

Environment:

- Unreal Engine 5.8.1-56057345
- Windows 11
- Unreal MCP (Experimental)
- MCP Protocol: 2025-11-25
- MCP endpoint: [http://127.0.0.1:8000/mcp](http://127.0.0.1:8000/mcp)
- Toolset: editor\_toolset.toolsets.object.ObjectTools
- Target object: WorldSettings in Lvl\_ThirdPerson

Log analysis showed the following sequence:

1. ObjectTools.list\_properties was executed on WorldSettings.
2. list\_properties returned a large JSON Schema object.
3. Some JSON Schema generation warnings were logged for unsupported delegate/property types.
4. The client incorrectly treated the returned schema object as if it were a list of property names.
5. That schema object was then passed to ObjectTools.get\_properties through call\_tool.
6. ObjectTools.get\_properties did not reject the invalid argument.
7. The Python/Unreal conversion path attempted to convert the JSON Schema to FName.
8. The schema was 71,624 characters long, exceeding the FName maximum length of 1023 characters.
9. Unreal Editor asserted and crashed.

The relevant Script Stack points to:

/EditorToolset/Python/editor\_toolset/toolsets/object\_PY.ObjectTools.get\_properties

ObjectTools.list\_properties itself did not crash the Editor. The crash occurred during the subsequent get\_properties call.

I understand that the immediate trigger involved incorrect client-side handling of the list\_properties return value. However, I am reporting this because invalid MCP/tool input should be rejected safely with an argument validation error instead of causing the entire Unreal Editor process to assert and crash.

I also found related community reports about very large list\_properties responses and other ObjectTools issues, but I could not find an existing report for this specific get\_properties → FName max-length Editor crash.

CallStack Hash:  
88D15CF8406991E96208CCD391A5FA32543F1E9D
