Search Feedback

101
votes

Runtime Model Importing

Runtime

-

-

The ability to runtime import 3D models would be very useful for runtime moddable games, where the developers allow the modders to add their own 3D models.

The only solution available is for the developer to code their own importer, which is an entirely waste of time since Unity has the code for this - but limits it to Editor time only.

Concerns over import time / not being efficient isn't important as it should always be the developers decision if they use such code. Warnings would be better instead of hiding functionality away in the Editor library.

Comments (2)

  1. 5e0f8a3e9aa523dba9584de252fb8953?d=mm

    G_P_V

    Apr 04, 2018 13:02

    I agree with Breyer: a programming interface that somehow grants access to the Unity importer functionality would be really nice.

    I really feel the need for loading model at run-time in Unity, mostly when
    they come from CAD o 3D modeling tools (and when the Unity application is already built).

    For this reason one year ago I created a project for an asynchronous importer/loader for Unity (AsImpL, https://github.com/gpvigano/AsImpL), starting with OBJ format support, with the hope to support in future other formats.
    I also worked on materials importing to improve the appearance of my 3D models, because some features of OBJ materials gets lost when importing into Unity Editor.
    I found some other existing OBJ loaders, but I decided to create my own project because I need to:
    * load models in an asynchronous way (without "freezing" the scene during loading)
    * load more models concurrently
    * show the loading progress on a UI
    * import the loaded models as assets into Unity projects
    * prepare the loader to be extended with different file formats
    Because of these requirements I decided to start a new different project, instead of applying changes one of the available OBJ loaders.

  2. 21259ca4721b9f15422190ca5c7f038e?d=mm

    Breyer

    Jun 11, 2015 21:48

    I only add that there is Assimp and assimp.net (importing+exporting bunch of formats and anims including .fbx (import only) library which are open source

    as i guess rewritting internal importing is out of the question but would be nice if you could add bridge for us (with assimp.net in mind - actually assimp.net dont "like" unity due to some memory problem, even modified version for mono dont work in unity and throw random stelemref error)

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10889)

2D

(287)

Ads

(57)

AI & Navigation

(81)

Analytics

(130)

Animation

(406)

Asset Store

(364)

Asset Store Publisher

(19)

Assets

(551)

Audio

(185)

Cloud Build

(148)

Collaborate

(68)

Docs & Tutorials

(247)

Editor

(2545)

Everyplay

(17)

Game Performance Reporting

(21)

General

(987)

Graphics

(894)

GUI

(442)

Input

(173)

Licensing

(93)

Networking

(190)

Physics

(387)

Platforms

(445)

Profiling & Optimization

(84)

Runtime

(185)

Scripting

(1141)

Terrain

(174)

WebGL

(142)