Jump to content

Recommended Posts

Posted

This extension loads a scene from Unity. Place this file in "Ultra Engine/Scripts/Start/Extensions":

Unity Import.lua

You can use this plugin to export a JSON file from Unity containing the open scene:
https://assetstore.unity.com/packages/tools/integration/scene-to-json-exporter-280989

I recommend breaking any prefabs you have before exporting.

These files can then be loaded with this extension. Select the Script > Utilities > Import Unity Scene menu item and open the JSON file you saved.

Currently just the basic hierarchy is loaded with no visible meshes, but it does work.

Untitled.thumb.png.0c0fe45f3f096d647298c0ce5574236c.png

Let's build cool stuff and have fun. :)

Posted

Updated version. This actually can load some scenes correctly, although the way unity does LODs is really weird and not every scene is compatible. Definitely break all prefabs before exporting.

Unity Import.lua

  • Like 1

Let's build cool stuff and have fun. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...