Skip to content

Read all scripts in a scene at once #539

Closed as not planned
Closed as not planned

Description

@Scriptwonder

I can see the new Resources API can read files via URIs, but I was wondering if the community wants a convenient tool that can read all scripts in a scene at once. I can get to that after I finish the custom tool I am building.

Activity

  1. dsarno commented on Jan 28, 2026

    @dsarno
    Collaborator

    @Scriptwonder This seems like it might be a huge response size for any scene with a lot of scripts. And I think the component / gameobject resources can figure this out fairly quickly if needed -- they can see which scripts are on objects in the scene, in a targeted way. Do you think we need more?

  2. whatevertogo commented on Feb 12, 2026

    @whatevertogo
    Contributor

    I got an idea.

    Why don’t we create a search tool for the currently selected scene that scans for GameObjects and attached scripts directly inside Unity?

    This would shift the workload to the client side instead of putting the pressure on the agent. Scene data can be large and complex, and processing it locally through the Unity Editor API would be faster, more scalable, and reduce unnecessary computation and communication overhead on the agent side. It would also provide more immediate and precise results tailored to the developer’s current context.@dsarno

    In case we need this feature.

  3. dsarno commented on Feb 18, 2026

    @dsarno
    Collaborator

    This has been transferred to a discussion: #775

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions