Skip to content

get_components consistently crashing unity 6.3 LTS #455

@flopdriver

Description

@flopdriver

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existsgood first issueGood for newcomers

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions