Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

unity-scene-web-exporter

> 编程语言
Open source

Export Unity Scene to Three.js or A-Frame.

197 stars0 likes0 views
WebsiteGitHub

About

Export Unity Scene to Three.js or A-Frame.

UnitySceneWebExporter

Export Three.js or A-Frame From Unity Scene

Screenshot

Unity3D scene

Three.js

A-Frame

Feature

  • Export Scene to Three.js scene format (THREE.ObjectLoader can load exported data)
  • Export Scene to A-Frame document
  • Export C# Script variable
  • Support lightmapping

  1. Edit->Kanau->"Export AFrame" or "Export Three.js"
  2. Export

How to use

Install

Open your Unity3D project. Copy `/UnityProject/Assets/Kanau" directory into your project's assets directory.

Lightmapping (Optional)

If you don't want to export lightmapping, skip it. /UnityProject/Assets/Scenes/DemoLightmap is Lightmap Sample Scene.

Set Light as Baked.

Set GameObject as Static.

Disable Automatic lightmap build to make exr files. Then, build lightmap.

  • Does /Lightmap-_comp_dir.exr exist?
  • Does /Lightmap-_comp_light.exr exist?
  • If automatic lightmap enabled, exr files doesn't exist.

Export

Edit -> Kanau -> Export Aframe or Export Three.js. Click Export and select target filepath.

  • Note : Unselect objects from Hierarchy view. If some objects are selected, only those are exported. (unselect means export all objects)

View (A-Frame)

Open exported html in browser.

View (Three.js)

  1. Export scene as scene.json. (hardcoded in viewer html)
  2. Copy exported file into /MiniThreejsViewer. (json file, images directory, models directory)
  3. Open /MiniThreejsViewer/index.html.

Note

  • Tested on Unity3D 5.4.2p3.
  • Export configurations are used in A-Frame exporting. Three.js doesn't use it.
  • A-Frame is unstable library. (current A-Frame version is 0.3.2) In future, A-Frame exporter wiil be broken.

Similar Projects / Libraries

  • J3D - unity3d-to-threejs exporter
  • UnityAFrameExporter - Export A-Frame From Unity Scene
  • Three.js JSON Exporter - via Unity Asset Store
  • unity-webvr - Export Unity scene to WebGL

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言