Cloned/Instantiated GameObject's Losing Public Variables When Created?

Hello, I currently have a game object set as a prefab being cloned repeatedly, however, it seems that each time it is cloned the new game object loses the assets associated with the public variables in the script attached. Can someone help by explaining why this occurs and potential how to fix it? Thanks in advance.

Please inspect your code as Unity documentation says “When you clone a GameObject or Component, all child objects and components will also be cloned with their properties set like those of the original object.” and it actually works as expected.

Maybe you can give more details on how it looks like that “the new game object loses the assets associated with the public variables in the script attached” so then it could give the idea what has happened?