Search Unity

New update broke all of my game object entity prefabs, is there a fast way to fix them?

Discussion in 'Entity Component System' started by zanius, Mar 5, 2019.

  1. zanius

    zanius

    Joined:
    Feb 5, 2018
    Posts:
    24
    So I have a lot of prefabs that had a lot of components added on them with ComponentDataWrapper. Now that that has changed to ComponentDataProxy all of the script references in the prefabs are broken and need to be replaced. I've already done a find and replace from Wrapper to Proxy but my script references are still broken. Is there a faster way to readd them than clicking add component in the editor for everything all over again?
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    Is this for your own ComponentDataProxy or for some in the entities package?
     
  3. zanius

    zanius

    Joined:
    Feb 5, 2018
    Posts:
    24
    It was my own ComponentDataProxy. Turns out I had a compile error and one of the errors was preventing unity from updating the script references. I restarted Unity after fixing the error and it all works now.