Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Importing or loading external assets in runtime.

Discussion in 'Scripting' started by Deleted User, Apr 4, 2015.

  1. Deleted User

    Deleted User

    Guest

    Hello. I'm new in Unity community and absolute Unity beginner. I'm thinking about converting my project from jMonkeyEngine to Unity. But I need one important feature. I want users (moders) to be able to create custom vehicles for my game. Is this possible using Unity? Is there the posibility to import e.g. blender models into game using runtime, without rebuilding project in Unity? I implemented this feature in jME. First step was create model in Blender, then convert to .j3o file using jME IDE. This file can be loaded in runtime along with my custom text configuration file with vehicle parameters.... Is something similar possible in Unity?
     
  2. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,184
    There is no built-in feature that Unity supplies, but of course you can read any file from json, over xml to binary, if you have an importer. If you're familiar with it, you can write your own or browse through the Asset Store to find an external script or complete plugin package. I haven't built anything like it myself, but I know that people have done it with plugins from the asset store, so just encouraging you to keep looking at Unity. ;)
     
  3. Deleted User

    Deleted User

    Guest

    Thank you for your reply. I found similar suggestions on the internet. I like unity so far. Also C# is more comfortable for me than java. It is important for me to know, that there will be some solution for my needs.
     
  4. Deleted User

    Deleted User

    Guest

    Or this could be achieved using Asset Bundles?
     
  5. cchacon

    cchacon

    Joined:
    Sep 20, 2015
    Posts:
    18
    did you find a solution for this?
     
  6. Deleted User

    Deleted User

    Guest

    Sadly no :(
     
  7. Roldo

    Roldo

    Joined:
    Oct 25, 2014
    Posts:
    41
    Was having the same problem. Did you find a solution for it? My guess is that you can probably write an external model converter thatll convert your models to json files or binary(with data on vertices, faces, materials, etc.) And then generate a model in unity at runtime using that data