Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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


    Apr 22, 2021
    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!