prefabs automaticly saved as inavtive.

For some reason some of our prefabs allways gets “inactive”. I can drag out the prefab into the scene then tick it so it is active then save but the next time I restart unity it will for some reason be inactive again.

We need it to allways be active because we have problem creating the objects over the network otherwise.

inactive on the part on the top of the image and on the bottom how we save it.

18940-inactive_active.png

1 Answer

1

Okey, someone in the team needs a good talk!
This row was made and then forgotten:

((GameObject)(spell)).SetActive(false);

should be true and now shit works!