-
Notifications
You must be signed in to change notification settings - Fork 585
Description
I had claude explicitly try to run get_componenets and it kept crashing unity.
That call was clean. Now let me try the problematic get_components call and check what warning appears:
U
Manage gameobject
Request
{
action: get_components,
target: PlayerRoot
}
that crashed it.
Thought process
The user is saying that the manage_gameobject call with get_components crashed Unity again. I need to stop and think about this.
The user said there's a deprecation warning showing in the console. But I didn't see any warnings before the crash. The crash happens before I can read the warning.
Let me think about what tools I have available:
Looking at my function definitions more carefully:
manage_gameobject - has actions including "get_components", "get_component"
manage_asset - also has "get_components" action
Wait - looking at manage_asset:
"action": {"description": "Perform CRUD operations on assets.", "enum": ["import", "create", "modify", "delete", "duplicate", "move", "rename", "search", "get_info", "create_folder", "get_components"], "type": "string"}
So BOTH tools have get_components. Maybe I should be using manage_asset with get_components instead of manage_gameobject?
The AI is getting confused by the abysmal structuring