Creates unwanted empty New Game Object.

When I instantiate a prefab at runtime I get the prefab I want but it also creates an empty “New Game Object” at the origin. I can only tell because it shows up in the editor the same time as my new prefab. Anyone know what could cause this? Does it just waste resources and not affect the actual game?

Have you tried to instantiate in a new clean project to see if it’s your code or a bug ?

is the GameObjecet a child of the prefab

Its probably some script doing it and not the instantiation itself.

Try searching your project for “new GameObject” or if your in JS try “GameObject(” most likely its something in a Awake or Start function

BDev got it, thanks for the help.