Thursday, January 22, 2026
spot_img

Including new features (actions) in any occasion (by way of GUI) of script would not mirror within the situations of a prefab


I am utilizing Unity 6.0 LTS. This can be a prefab (Food1) with 3 features already added to it in On Work together Occasion (). I am utilizing the scripts offered by Unity:

Including new features (actions) in any occasion (by way of GUI) of script would not mirror within the situations of a prefab

I created an occasion of the prefab (named Food1Instance), and added one other motion to the occasion (associated to gameobject named Objective1.5 Picture). (I didn’t Apply overrides for this occasion as a result of objects are solely accessible in fundamental scene they usually present lacking within the prefab if I apply. In any other case I’d preserve all features contained in the prefab solely).

enter image description here

Now, you by no means know if it is advisable to do modifications inside prefab. So later I deliberate I would like extra gameobjects and features inside prefab. I did so with none points:

enter image description here

However the issue is, it doesn’t mirror within the occasion:

enter image description here

I do not know if that is an anticipated habits or some glitch/concern.

Observe: This drawback happens solely when I’ve added further features to the situations, e.g., the Objective1.5 Picture associated perform. In any other case I can add features to the prefab they usually mirror within the occasion.

If I wanted only one occasion, I may simply replace my prefab as wanted, create a brand new occasion once more and add the additional features wanted within the occasion later. However I would like a number of situations. So it could be tedious to duplicate them once more and prepare the place I had already positioned them within the area.

My objective is, to maintain as many features/actions as doable contained in the prefab solely, so I need not replace issues on muliple situations later. However I am restricted by the truth that many of the gameobjects aren’t a part of prefab, so I am unable to put all of them within the prefab.

So in the end, it result in me this resolution solely, nevertheless it has the issue I described.

Is there any higher workflow to this? Or can this drawback be solved? (With out utilizing customized scripts or modifying/writing any code).

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles