Is there something like "destroy otomatically" ? Because I don't destroy but it gets destroyed.

Hi. I’m talking about script. I define a gameobject like

public class Server : MonoBehaviour
{
    private GameObject go1;

I don’t use anything like Destroy or DestroyImmediate. Is there something I don’t know? Because I really don’t understand why it gets destroyed…

Have you assigned a value to go1. By default all references are null.