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.

Question How do I save my custom character to a prefab being used in a multiplayer game?

Discussion in 'Multiplayer' started by carlordvr, Sep 26, 2022.

  1. carlordvr

    carlordvr

    Joined:
    Apr 22, 2021
    Posts:
    3
    Hey all! Write now I am looking to create a multiplayer character that is customizable. I have a character creator where I can edit the recipe of this character to change and load features onto the character. However, the character creator only edits the looks of the character and does not save to the actual character prefab because the character prefab has extra scripts attached that would not allow it to work in the character creator scene. Is there a way to load the recipe from the character creator once it is saved onto the actual character prefab without the character prefab being in the scene? To do this, I would either need to run a function that I have on a script on the prefab and then save the prefab or remove then add a script and remove and add a GameObject to the prefab. Let me know if anybody knows of a solution!