Skip to content

Frequently asked questions

What is ZenCoder, exactly?

ZenCoder is a runtime scripting tool embedded directly in the Unity Inspector. It lets you write and execute live C# code on any component — without recompiling, restarting Play Mode, or switching editors. It's perfect for rapid testing, debugging, and prototyping at the point of interaction.

How is ZenCoder different from Scriptum?

Scriptum is a standalone scripting console with session management, REPL, and Editor modes. ZenCoder is embedded inside the Inspector, per-component, and contextual. It focuses on writing runtime logic for a specific target directly within its inspector window — more focused, more fluid, and perfect for component-level logic.

What does target refer to?

target is a dynamic reference to the component selected in the ZenCoder header dropdown. It behaves just like writing GetComponent<SelectedType>(), but without boilerplate. This lets you quickly access fields and methods of the selected component.

Does ZenCoder support code suggestions or autocomplete?

Yes. ZenCoder has a contextual autocomplete system. It recognizes the target type, live variables, known methods, fields, and common Unity types — providing relevant suggestions as you type.

Can I use ZenCoder with AR, VR, Networking, or Animation?

Absolutely. ZenCoder was designed to be flexible and powerful. We’ve published detailed Tips & Tricks pages for different domains like XR, Multiplayer, Networking, and Animation to help you unlock its full potential.

Can I run logic continuously like a coroutine or update loop?

Yes. In Editor Mode, your script can define an Update(float deltaTime) method that runs every frame while ZenCoder is running. This lets you simulate behaviors like movement, UI updates, or state checks.

Does ZenCoder modify my scripts or game objects permanently?

No. ZenCoder runs in-memory scripts that only affect runtime behavior. Nothing is written to disk or saved unless you explicitly export or copy your code. This makes it ideal for safe, temporary experimentation.

Does ZenCoder work in builds?

No. ZenCoder relies on UnityEditor and Roslyn scripting, which are not included in runtime builds. It’s designed for Editor-only debugging and development.