githubEdit

Needle Engine for Unity

Create interactive 3D web experiences with Unity. Export scenes to optimized glTF, write TypeScript components with C# stubs, and deploy anywhere on the web.

Create highly interactive, flexible, and lightweight web applications right inside Unity.

What you can do:

  • Use Unity's powerful editor tools for 3D scenes, animation, and design

  • Export scenes to optimized glTF format automatically

  • Write TypeScript code that appears as C# components in Unity

  • Integrate seamlessly with any web frontend framework

  • Deploy anywhere on the web with hot reload support


Install the Unity Package

Download Needle Engine for Unity

Installation steps:

  1. Drop the downloaded .unitypackage file into a Unity project and confirm that you want to import it

  2. Wait a moment for the installation and import to finish. A window may open stating that "A new scoped registry is now available in the Package Manager." This is our Needle Package registry. You can safely close that window

  3. Explore Samples Select the menu option Needle Engine > Explore Samples to view, open and modify all available sample scenesarrow-up-right


Quick Start Video


Getting Started

Choose how you want to start your first project:

Browse 100+ samples online or install them in Unity via Needle Engine > Explore Samples.

Perfect for: Learning features, exploring capabilities, getting inspired

Browse Samples →arrow-up-right


Create a new scene from a Needle Engine template via File > New Scene.

Perfect for: Quick prototypes, starting fresh projects


Add a Needle Engine component to your scene and configure your web project manually.

Perfect for: Understanding the workflow, full control


Ready to build?

→ Complete Getting Started Tutorialarrow-up-right - Step-by-step guide for your first project


Key Features

TypeScript Components with C# Stubs

Write TypeScript code in your web project that automatically appears as components in Unity:

The component appears in Unity's Add Component menu with editable fields in the Inspector.

Learn more: For Unity Developers →arrow-up-right


Hot Reload & Editor Sync

Make changes in Unity or your code editor and see them instantly in the browser:

  • Scene changes update automatically on save

  • TypeScript changes hot-reload without page refresh

  • Material properties sync live with EditorSync component

Learn more: Editor Sync →arrow-up-right


NPM Integration

Share code across projects with NPM Definitions (NpmDef):

  • Create reusable component packages

  • Version control your code

  • Share across multiple Unity and web projects

Learn more: Getting Started Tutorial →arrow-up-right


Learning Resources

Tutorials (Learning-Oriented)

How-To Guides (Problem-Oriented)

Explanation (Understanding-Oriented)

Reference (Information-Oriented)


Troubleshooting

Common issues:

Issue
Solution

Server won't start

Components not showing

Restart Unity or click "Generate C# Components"

Hot reload not working

Check console, restart dev server

See full troubleshooting guide →arrow-up-right


Community & Support


What's Next?

  1. Start building: Follow the Getting Started Tutorialarrow-up-right

  2. Master scripting: Complete For Unity Developersarrow-up-right learning path

Last updated