My public game objects are dragged and dropped into the inspector, and show up fine, but disappear when I click play mode, and subsequently do not work until I drag and drop them again in playmode.
I haven’t experienced this problem for a while and can’t remember how to fix it. Anyone have any suggestions?
If it’s causing you issue then yes, I would remove it., comment it out to test it.
it must be failing and returning null, that could be why it’s getting removed when you press play.