- Home /
Question by
thelonelypanda · Jan 04, 2021 at 02:02 AM ·
instantiateprefabsnoob
Spawning an instance of a prefab no longer works
In this project and previous projects I've always been able to Instantiate() an object from a prefab. Now for whatever reason it spawns an old version that i no longer have the file/variant of. I even tried changing the folder name("Prefabs" -> "Objects") that i keep the prefabs in but i kept the code the same("Instantiate(Resources.Load("Prefabs/Filler"), new Vector3(0, 0, cellZPos), Quaternion.identity);"). Meaning there was no folder named "Prefabs". Yet it still spawned the old prefab as if they are ghost files.
Comment