if a prefab is inactive,
the prefab Awake() not called after instantiated.
set gameobject active after instantiating it
or set prefab active.
but you can call your own method in inactive gameobject.
Inactive Gameobject means that there is nothing in unity scene world.
Unity API not called.
Awake(), Start(), Update(), OnCollision() and so on...