Real PowerShell and cmd terminal embedded in the Unity Editor. Full ANSI colors, persistent scrollback, and your shell survives script recompiles.Only Windows Computers.Stop alt-tabbing between Unity and your terminal.Embedded Terminal hosts a real, interactive PowerShell or cmd.exe sessiondirectly inside the Unity Editor — not a Process.Start wrapper, not afake command runner. It uses the native Windows ConPTY API(CreatePseudoConsole), the same pseudo-terminal system used by WindowsTerminal and VS Code. Your shell behaves exactly like it would in astandalone terminal: ANSI colors, interactive prompts, line editing,command history, environment variables — everything just works.WHAT MAKES IT DIFFERENTMost "terminal" assets on the Asset Store are thin wrappers aroundProcess.Start that capture stdout from a one-shot command. They can'thost an interactive shell, can't render colored output, break on prompts,and die the moment you recompile a script. Embedded Terminal isfundamentally different: • A full pseudo-console (ConPTY) — not stdin/stdout piping • ANSI/VT100/xterm escape sequence parser with 16/256/truecolor • Compile-resilient: the shell process survives Unity domain reloads. Long-running commands keep going across script recompiles • Persistent scrollback saved to disk and restored on next open • Native helper process runs outside Unity's Job Object so PTY children stay healthy (this is the part nobody else gets right)WHO IT'S FOR • Developers who use git, npm, dotnet, python, or any CLI tool alongside Unity • Build engineers running scripts and watching output from inside the editor • Anyone tired of alt-tabbing to PowerShell every five minutesHOW IT WORKSA small native .NET Framework helper executable (12 KB, source included)is spawned with CREATE_BREAKAWAY_FROM_JOB so it lives outside Unity'sprocess job. The helper hosts the real ConPTY and talks to Unity overTCP loopback using a tight framed binary protocol. On domain reload,the editor window reconnects to the existing helper via SessionState —your shell never dies.WHAT'S IN THE BOX • EmbeddedTerminalWindow.cs — dockable IMGUI editor window • ConPty.cs — helper transport + lifecycle • TerminalScreen.cs — cell grid + 16-color palette + scrollback • AnsiParser.cs — VT100/xterm parser • EmbeddedTerminalHelper.exe — pre-built native helper (12 KB) • EmbeddedTerminalHelper.cs.txt — helper source (transparent, rebuildable) • build.cmd — one-click rebuild of the helperPLATFORM SUPPORTEditor only, Windows only (Windows 10 1809 or newer, or Windows 11).The Unity editor itself can run on any platform — this package issimply a no-op outside Windows. No runtime code is included, so itdoes not affect your builds, build size, or target platforms.PRIVACYNo network access except 127.0.0.1 loopback between Unity and thehelper. No telemetry, no analytics, no external calls. Helper sourcecode is shipped with the package — you can inspect it and rebuild it.REQUIREMENTS • Unity 2021.3 LTS or newer • Windows 10 1809+ / Windows 11 (Editor host OS) • No additional dependencies — uses only Windows API and .NET Framework standard library• Hosts a real Windows ConPTY (CreatePseudoConsole) — full interactive PowerShell or cmd.exe session, not a Process.Start wrapper• ANSI / VT100 / xterm escape sequence parser• 16-color palette + 256-color + 24-bit truecolor support• Compile-resilient — shell process survives Unity script recompiles via SessionState-backed TCP reconnect• Persistent scrollback (up to 2000 rows) saved to Library/ and restored on next editor session• Mouse text selection with drag-to-select• Clipboard: Ctrl+Shift+C / Ctrl+Shift+V + right-click context• Mouse wheel scrollback navigation with live/scrollback distinction• Native helper process spawned via Win32 CREATE_BREAKAWAY_FROM_JOB to escape Unity's Job Object — keeps PTY children healthy• Framed binary protocol over TCP loopback (127.0.0.1) — no public ports, no firewall prompts, no external network access• Helper source code (.NET Framework 4.x) included for transparency with one-click rebuild script (csc.exe required)• Dockable IMGUI editor window — behaves like any native Unity panel• Resize-aware — PTY dimensions sync with window resize• AssemblyDefinition-based — clean assembly isolation, Editor-onlyAI assistance was used during development forcode review, debugging guidance, and documentation drafting.All code was reviewed, tested, and edited by the publisher. Thepackage contains no AI-generated runtime behavior, no telemetry,and no AI model dependencies.





