Skip to content

get_components consistently crashing unity 6.3 LTS #455

Closed

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

Activity

  1. flopdriver commented on Dec 11, 2025

    @flopdriver
    Author

    point being get components doesnt fail gracefully.

  2. dsarno commented on Dec 11, 2025

    @dsarno
    Collaborator

    You're right, it has no guardrail when the number of components are too large. Will work on a fix. In the meantime, use get_component singular.

  3. runelord commented on Dec 12, 2025

    @runelord

    I'm seeing this problem, too. It seems to have a problem with Canvas.

    My ai suggests:
    JsonConvert.DefaultSettings = () => new JsonSerializerSettings
    {
    ReferenceLoopHandling = ReferenceLoopHandling.Ignore
    };

    I haven't tried it, yet. I wasn't going to try compiling this project -- was just hoping to use the official distribution.

  4. added
    good first issue
    on Dec 14, 2025
  5. added
    bug
    on Dec 18, 2025
  6. added theissue type on Dec 18, 2025
  7. added
    duplicate
    on Dec 28, 2025
  8. dsarno commented on Dec 28, 2025

    @dsarno
    Collaborator

    Probably duplicate of #488 . Need to fix soon, I'll see if I have time next week.

  9. dsarno commented on Dec 29, 2025

    @dsarno
    Collaborator

    Should be fixed in latest release 8.4.0. Please let us know if you continue seeing this type of issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugduplicategood first issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions