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

Remove component from Prefab during conversion

Discussion in 'Entity Component System' started by rjohnson06, Mar 14, 2022.

  1. rjohnson06

    rjohnson06

    Joined:
    May 27, 2017
    Posts:
    17
    Is there any way to remove a component from a Prefab during conversion? I'm running into this error, understandably : "Destroying assets is not permitted to avoid data loss."

    Reason I'm trying to do this is that I don't want to use the rendering aspects of ECS. I'm going to use logical entities and sync these with standard game objects for rendering.
     
  2. rjohnson06

    rjohnson06

    Joined:
    May 27, 2017
    Posts:
    17
    Nevermind, realizing I should be removing components from the entity