previously inactive menu does not update.

I have a very simple menu with 2 buttons. It works fine when this menu is active from the start of the scene. However, when the gameobject starts inactive, and then is put to active (or when it is instantiated from a prefab ) the “first selected gamejobject” never gets selected.
To make things worse, any gamepad/keyboard input, or even calls to eventSystem.SetSelectedGameObject() do not work - the menu stays inactive.
The only thing that does work is if I click one of the buttons with the mouse. After that, the menu receives input again.

I was looking to do if I could do some sort of activation call to the menu, but eventSystem.UpdateModules() doesn’t do anything here.

Edit: After fiddeling with it some more I noticed that eventSystem.currentInputModule is always null for previously inactive/instantiated gameobjects. Making a reference to the inputModule in the editor and then calling referencedInputModule.ActivateModule() does visually select the firstSelected gameobject, but still accepts no input.

Any idea’s what I could do?
Thanks.

This turned out to happen because I had 2 seperate canvasses ( one in worldspace, one in screen space) and only one Eventsystem can be active at a time.