- Home /
Question by
stevesan · Jul 08, 2018 at 02:44 PM ·
componentsrequirecomponent
Check RequireComponent on existing scenes/prefabs when new annotation is added?
It's not uncommon to add a RequireComponent on an old component that has been used quite a bit already. But the enforcement only seems to happen when you add the component...
Is there a way to make sure all existing scene-instances/prefabs have the newly required component? Ie. get a list of all the ones that violate it? Or does this happen on build?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612170259im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Game Objects, different components 1 Answer
Documenting Unity classes/ components/ system 1 Answer
Infinite Loop while Removing Components 1 Answer
Cannot enabled / disable a script component? 2 Answers
Is this accurate? Scenes are composed of objects are composed of components are composed of assets 1 Answer