docs
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help
Getting Started
Tutorials
How-To Guides
Explanation
Reference
Help

Deployment Platforms

Get your Needle Engine projects live on the web. Deploy to popular hosting platforms like Netlify, Vercel, GitHub Pages, and more.

Optimize Your Build First

Before deploying to production, optimize your project for best performance: Optimization & Compression →

Learn about texture compression (KTX2), mesh compression (Draco/Meshopt), progressive loading, and build types.

What does deployment mean?

Deployment is the process of making your application available to the public on a website. Needle Engine ensures that your project is as small and fast as possible by using the latest compression techniques such as KTX2, Draco, and Meshopt. Learn more about Optimization & Compression.

Quick Start: Choose Your Platform

Pick a hosting platform that fits your needs:

  • Needle Cloud – Official Needle hosting. Great for all kinds of spatial web apps and 3D assets.
  • Netlify – Professional hosting with custom domains and CI/CD.
  • Vercel – Optimized platform for frontend developers with excellent performance.
  • GitHub Pages – Free static hosting, great for open source projects.
  • itch.io – Perfect for games and interactive experiences.
  • Facebook Instant Games – Reach users on Facebook and Messenger.
  • FTP Upload – Deploy directly to any server with FTP/SFTP support.
  • Build to Folder – Upload manually to any web server or hosting service.
  • Glitch (Deprecated) – Glitch has discontinued their hosting service.

Need Help?

Can't find what you're looking for? Let us know in our forum!


Deployment Options

Needle CloudDeploy to Needle Cloud

Official Needle hosting – The fastest way to get your Needle Engine projects online with built-in networking support.

Needle Cloud provides instant deployment, automatic HTTPS, and seamless integration with multiplayer and networking features.

Unity: Deploy to Needle Cloud
  1. Add the Needle Engine component to your scene (if not already present)
  2. Click Upload to Needle Cloud in the component inspector
  3. Sign in to your Needle Cloud account when prompted
  4. Choose your team and project name, then click Upload

Your project will be live at https://<your-project-name>.needle.run with automatic updates on every deployment.

Deploy to Needle Cloud from Unity

Blender: Deploy to Needle Cloud
  1. Open the Needle Engine panel in your scene (if not already present)
  2. Sign in to your Needle Cloud account when prompted
  3. Then click Upload to Needle Cloud

Your project will be live at https://<your-blendfile-name>.needle.run with automatic updates on every deployment.
Note: The deployment url will by default be based on your blend file name.

Deploy to Needle Cloud from Blender

Features:

  • Instant deployment – Get your project online in seconds
  • Built-in networking – Multiplayer and real-time features work out of the box
  • Automatic HTTPS – Secure connections by default
  • Version management – Keep track of all your deployments
  • Custom domains – Use your own domain name (Pro plan)

Learn more: Needle Cloud Documentation

NetlifyDeploy to Netlify

Professional hosting with custom domains, automatic HTTPS, and continuous deployment.

Unity: Deploy to Netlify

Add the DeployToNetlify component to your scene and follow the instructions. You can create new projects or deploy to existing ones with a single click.

Deploy to Netlify Component

Deploy to Netlify

VercelDeploy to Vercel

Optimized platform for frontend developers with excellent performance and DX.

Setup:

  1. Create a new project on Vercel
  2. Add your web project to a GitHub repository
  3. Connect the repository to your Vercel project

See our Next.js sample project for configuration reference.

itch.ioDeploy to itch.io

Perfect for games and interactive experiences with a built-in community.

Unity: Deploy to itch.io step-by-step
  1. Create a new project on itch.io

  2. Set Kind of project to HTMLitch.io Project Type

  3. Add the DeployToItch component to your scene and click BuildDeploy to itch Component

  4. Wait for the build to finish. It will open a folder with the final zip

  5. Upload the final zip to itch.io Upload to itch.io

  6. Select This file will be played in the browserBrowser Playback

  7. Save your itch page and view the project page Your Needle Engine project should now load! 😊

Optional settings:

Optional Settings

Troubleshooting: Failed to find index.html

Failed to find index.html error

If you see this error, make sure you're not uploading a gzipped index.html.

Fix: Disable gzip compression in vite.config.js in your Needle web project folder. Remove the line with viteCompression({ deleteOriginFile: true }), rebuild, and upload to itch.

GitHubDeploy to GitHub Pages

Free static hosting, perfect for open source projects and documentation.

Unity: Deploy to GitHub Pages

Add the DeployToGithubPages component to your scene and copy-paste your GitHub repository URL or GitHub Pages URL.

Deploy To GitHub Pages Component

Troubleshooting GitHub Pages

Deployed but website is not live:

  • First deployment can take a few minutes. Check the Actions tab on GitHub (/actions) to see deployment progress.
  • If not live after a few minutes or no workflow appears in Actions, go to Settings → Pages (/settings/pages) and ensure Branch is set to gh-pages.

FacebookDeploy to Facebook Instant Games

Reach users on Facebook and Facebook Messenger with instant-loading games.

No manual adjustments required – Needle Engine handles everything automatically.

Unity: Deploy to Facebook Instant Games
  1. Add the Deploy To Facebook Instant Games component to your scene Deploy to Facebook Instant Games

  2. Click Build For Instant Games

  3. After the build finishes, you'll get a ZIP file to upload to your Facebook app

  4. On Facebook, add the Instant Games module and go to Instant Games → Web HostingHosting Facebook Instant Games

  5. Upload your zip using Upload version (1). After processing, click Stage for testing (2) or Push to production (star icon) Upload to Facebook Instant Games

  6. Click the Play button next to each version to test your game on Facebook

How to create a Facebook app with Instant Games
  1. Create a new app and select Other, then click NextCreate Facebook App

  2. Select type Instant GamesSelect Instant Games

  3. After creating the app, add the Instant Games product Add Instant Games Product

See the official Instant Games documentation for more details.

Note: You only need to create the app – Needle Engine handles all technical requirements automatically.

Deploy to Glitch 🎏

Deprecated - Service Discontinued

Glitch has discontinued their hosting service. This deployment option is no longer available.

Alternatives:

  • Needle Cloud – Official Needle hosting with built-in networking support
  • Netlify – Professional hosting with custom domains
  • Vercel – Excellent performance for frontend projects
  • Build to Folder – Deploy to any web server manually

FTPDeploy to FTP

Deploy directly to any server with FTP or SFTP support.

Unity: Deploy to FTP server
  1. Add the DeployToFTP component to a GameObject in your scene (Best practice: add it to the same GameObject as Needle Engine)

  2. Assign an FTP server asset and fill in server, username, and password Get these credentials from your hosting provider when you create an FTP account

  3. Click Build & Deploy to build and upload to your FTP account

Deploy to FTP Component

Deploy to FTP component

FTP Server Asset

FTP Server asset containing access information

Deploy to FTP with Server Assigned

Deploy To FTP component with server asset assigned. You can deploy to a subfolder using the path field

Manual FTP deployment
  1. Open File → Build Settings, select Needle Engine, and click Build
  2. Wait for the build to complete – the dist folder will open automatically
  3. Copy the files from the dist folder to your FTP storage

That's it! 😉

Dist Folder

Troubleshooting:

Website doesn't work after upload: Your web server may not support serving gzipped files.

Option 1: Enable gzip compression on your server using a .htaccess file (see below) Option 2: Turn off gzip compression in build settings at File → Needle Engine → Build Window

Build Options Gzip

Build errors during compression: Please report the bug! To get unstuck immediately, toggle Development Build on in Build Settings.

Enabling gzip using a htaccess file

Create a file named .htaccess in your upload folder (or parent folder) with this content:

<IfModule mod_mime.c>
RemoveType .gz
AddEncoding gzip .gz
AddType application/javascript .js.gz

Upload the .htaccess file to your server.


FolderBuild To Folder

Build your project locally for manual upload to any web server or hosting service.

When using our default Vite template, the build output folder is <webproject>/dist.

UnityUnity: Access Build Options

Open File → Needle Engine → Build Window:

Unity Build Window

Available Options:

  • Build to Disk – Create production build in the dist folder
  • Preview Build – Build and start a local server to preview the final result
  • Development Build – Disable compression for debugging (not recommended for production)

Learn more: Optimization & Compression - Build types, compression options, and best practices

Node.js is only required during development

The distributed website (using our default Vite template) is a static page that doesn't rely on Node.js and can be hosted on any regular web server.

Node.js is only required if you want to run our minimalistic networking server for multiplayer experiences.

Advanced Topics

Cross-Platform Deployment Workflows

You can create Unity projects that build to both Needle Engine and regular Unity platforms (Desktop, WebGL, etc.). Our component mapping approach means no runtime logic is modified in Unity.

Using Unity Play Mode:

In Project Settings → Needle Engine, toggle Override Play Mode and Override Build Settings to switch between Needle's build process and Unity's build process:

Unity Play Mode Settings

Dual Platform Development

This approach may require duplicate code (C# for Unity, TypeScript for Needle Engine). The amount of extra work depends on your project complexity.

Needle Engine Command Line Arguments for Unity

Needle Engine for Unity supports command-line arguments for batch exports and builds using -batchmode (headless/CLI options).

Note: A Needle Engine PRO license is required for command-line builds.

Available Options:

ArgumentDescription
-executeMethod Needle.Engine.ActionsBatch.Executerequired — Tells Needle Engine to run batch processing
-teamId <teamId>required — Your Needle Cloud team id. Get via Needle Cloud
-scenerequired — Path to a scene or asset to export
Example: Assets/path/to/myObject.prefab or Assets/path/to/myScene.unity
-outputPath <path>required — Set the output path for the build
Example: -outputPath path/to/output.glb
-buildProductionoptional — Run a production build. Only used for Unity scenes. Either -buildProduction or -buildDevelopment must be specified.
-buildDevelopmentoptional — Run a development build. Only used for Unity scenes. Either -buildProduction or -buildDevelopment must be specified.
-debugOpen a console window for debugging

Please refer to the Unity Commandline Arguments documentation for Unity specific options.

Needle License Server

For automated builds on CI/CD systems make sure the Needle License server is running. See Needle Cloud Documentation - Starting the License Server for setup instructions.

Example Usage:

Unity.exe -batchmode -executeMethod Needle.Engine.ActionsBatch.Execute -teamId <teamId> -projectPath "C:/MyProject" -scene "Assets/Scenes/MyScene.unity" -buildProduction -quit

Next Steps

Optimize Your Build:

  • Optimization & Compression – Make your project load faster and run smoother
  • Export Guide – Best practices for 3D assets

Learn More:

  • Getting Started Guide – Set up your first project
  • Needle Cloud Documentation – Official hosting platform
  • Features Overview – See what's possible

Get Help:

  • Forum – Ask questions and share projects
  • Discord – Join the community
  • Help & Community – Additional resources
Suggest changes
Last Updated: 2/11/26, 9:31 PM

Extras

ChatGPT Ask ChatGPT Claude Ask Claude
Copy Markdown

Navigation

  • Getting Started
  • Tutorials
  • How-To Guides
  • Explanation
  • Reference
  • Help

Extras

ChatGPT Ask ChatGPT Claude Ask Claude
Copy Markdown