We have developed an asset for Unity.
We hope it will contribute to improving the efficiency of your Unity development projects.
https://drive.google.com/file/d/1kJ9YZi-4gQ12eBr3HkLLClcM_POb01KG/view?usp=sharing
===
■ What is this asset? ■
This Unity Editor extension is a streamlined tool that lets you consult ChatGPT about Unity errors and development issues with almost no setup or effort.
Many developers struggle with
・“Writing a clear ChatGPT prompt is tedious.”
・“I just want advice by pasting the error message.”
If that sounds familiar, this extension is designed for you.
■ Core Features ■
One‑step error prompt
Select a message in the Unity Console, press Ctrl + C, and a well‑formatted prompt—complete with the error and related code—is copied to your clipboard, ready for ChatGPT.Copy scene‑related scripts
Right‑click a scene file and copy the file names and contents of every .cs file referenced in that scene.Copy associated scripts from a single file
Right‑click any .cs file to copy it plus other scripts that reference or are referenced by it.Copy all project scripts
Export every .cs file in the project in one action—ideal for large‑context analysis.
■ Feature 1 in Detail: One‑Step Error Prompt ■
After copying an error, your clipboard will contain text like
About the following Unity error, please tell me the cause and solution.
[error message]
Here is the content of the related script file `[file path]`
[file content]
Please let me know if there are any errors or points to note.
・Converts in roughly 0.1 seconds
・Attaches the most relevant code automatically
・Works directly inside the Unity Editor
・Eliminates manual prompt writing
■ Supported Environment ■
・Unity 2020.3 or later
・Windows (macOS supported only Feature 1)
・Editor mode only (disabled during Play mode)
■ Ideal Users ■
・Developers who repeatedly craft ChatGPT prompts by hand
・Beginners who need quick, reliable guidance
・Anyone aiming to speed up error handling and debugging
■ Bulk‑Copy Features (2, 3, 4) ■
How to copy scripts related to a scene
- Right‑click a scene file.
- Select Tools › SephirothChatGPTPromptCreator › CS Only.
- All referenced .cs files are now in your clipboard.
How to copy every script in the project
・From Unity’s top menu bar, select Tools › SephirothChatGPTPromptCreator › CS Only.
・Be aware that very large projects will produce a sizable output.
How to copy scripts related to a single file
- Right‑click the desired .cs file.
- Select Tools › SephirothChatGPTPromptGeneratorFile.
- The selected file and any script that references its name are copied automatically.
If the content exceeds ChatGPT’s input limit, divide it into chunks of roughly 200 k characters.
■ In Summary ■
・Accelerate debugging by turning console errors into ChatGPT‑ready prompts.
・Bridge Unity and ChatGPT without opening .cs files.
・Handle complex projects with automated script collection.
Give it a try and experience faster, more effective problem‑solving in Unity.
■ macOS Support Update ■
Feature 1 is currently being adapted for macOS.
The only remaining task is debugging.
If you're eager to try it out before the debugging is complete, you can access a preview build from the link below:
https://drive.google.com/file/d/1GVJWbcrb31jCTOAVLpm_tWIaT_0lhNf4/view?usp=sharing
Please create a file named SephirothConsoleCopyInterceptor.cs somewhere inside the Assets folder, and replace its contents with the code provided in the Google Drive link.
Top comments (4)
nice 🔥🔥🔥
Appreciate it! Super glad you liked the idea 🔥
Really clever way to cut through all the busywork when debugging. Any plans for a macOS version?
Thank you!
To be honest, I had no plans for a macOS version—at least not until I saw your comment.
That said, now that I know there’s interest, I’m considering adding macOS support for what I believe is the most useful part of the tool: Feature 1.
Please bear with me—it might take some time, and I apologize in advance if I’m ultimately unable to make it work.
Either way, I’ll follow up with a comment to let you know how it goes.