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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Feature Request We should be able to remove unused overrides on many Prefab Variant assets at once

Discussion in 'Prefabs' started by FredTuna, Dec 9, 2022.

  1. FredTuna


    Dec 28, 2016
    Unity added the ability to remove unused overrides on prefab instances including prefab variants in 2022.2. Unfortunately, for prefab variants, we currently have to open each prefab variant individually to remove unused overrides. I wish we could remove unused overrides on prefab variant assets by just selecting them in the project instead of having to open them. That way I could select many of them and remove unused overrides in one click.

    Even from script, PrefabUtility doesn't expose any method for manipulating unused overrides as they are all internal. Adding a way to do this from script would be fine too as it would be easy to create a tool to do it on many prefab variants at once.