Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

The problem I have is that when I put 2 or more Prefab drones in the same scene, only one of them keeps active when I start the execution. The others suddendly autodeativate.

Edit the script "DroneMainScript" and at the "OnEnable" section comment out the first line (it should be line number 222) like this:

//if (current != null && current != this) current.transform.parent.gameObject.SetActive(false);

This will stop the autodisabling of newly added drones.

(+1)

Thank you Maloke!!! It worked for me!!