I was just trying to destroy all the enemies present in the scene at special event for player get powerup-tag “clear enemies” and its working well but it is trying to destroy prefab also and unity saved me and throw an error
“Destroying assets is not permitted to avoid data loss”
its getting prefabs also I think how to avoid or check for that type of object is in present in editor or not ?
or reason is anything else than how to solve this