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. Dismiss Notice

Discussion Make DLC's, expansion packs or similar

Discussion in 'General Discussion' started by DiegoVisionary, Sep 13, 2023.

  1. DiegoVisionary

    DiegoVisionary

    Joined:
    Jul 3, 2017
    Posts:
    6
    Hello everybody,

    I work in a company that develops serius games for healthcare. Our project is made up of a main software on which other mini-games depend. Both the main software and the mini-games are independent Unity projects with their own installer. To access any of the mini-games, users have to start the main software and select the mini-game they want to play. Internally in that moment a new process is launched using System.Diagnostics.Process().

    Our minigames are intended for Windows, so in this case this method works perfectly, but I was wondering if there was a better solution to achieve the same thing so that we could develop on other platforms where this method might not be possible.

    What we mainly like about this working method is to be able to have independent projects that allow us to modify code without affecting other minigames, as well as the possibility of using different versions of Unity3D so that we can take advantage of the improvements of the tool that are being developed in our future projects.
    I've read about Unity bundles but from what I've seen they don't allow to work with scripts and they are more thought to integrate new 3D elements or graphics.

    Has anyone had a similar experience, and any ideas on where I can look into getting something similar?
    I don't know if there is a way to work in a similar way to what we are doing but get everything to run in the same process.
    Any ideas you can come up with are welcome. Thank you very much in advance.
     
  2. Gordon_G

    Gordon_G

    Joined:
    Jun 4, 2013
    Posts:
    358
    We have a similar concept as yours running on iOS and Android but our mini-game code is included in our app. The content is loaded dynamically using Unity Addressables, which is for updating and distributing content not code. I believe on the iOS side there is such a thing as inter-app communications and you would be able to replicate what you do now, but your mini-games will be separate apps: Even if you can find a way to do that mobile, on Apple's app store at least, you will never get an app approved that downloads other code dynamically.
     
  3. DiegoVisionary

    DiegoVisionary

    Joined:
    Jul 3, 2017
    Posts:
    6
    Thank you Gordon_G for sharing your experience, I will check your solution. Maybe we can solve some of our problems. In our case the idea we have is to develop products for virtual reality glasses, such as Pico or Focus 3, whose operation is similar to the one you suggest with iOS.

    Thanks