Dhruvil Mehta
0
Q:

How do i destroy a prefab without the error?

//You could try making a copy

public GameObject example;


GameObject exampleCopy = example
Instantiate(exampleCopy, //wherever you want)
Destroy(exampleCopy)
1

New to Communities?

Join the community