Show hidden object when loading a Scene2 using a button from Scene1.

I have 2 scenes. Scene 1 has a button, Scene2 has a gameobject that is hidden (I have reason why I hide it). When I press the button from scene1, how can I load scene2 and show the hidden gameobject?

You can load scene2 using Scenemanager.LoadScene(“Scene2”) . And is there any specific reason you want this gameobject to stay hidden? Because it will, either way, be not visible from scene1. Only after he presses the button will scene2 be loaded and gameobject be visible. If yes, then you can use SceneManager.Sceneloaded to enable the hidden gameobject once scene2 is loaded.