If the Panels option is set to ‘Essentials’ instead of ‘Default’, this may affect layer visibility. To rectify that, simply go click on Window > Workspace and select "Reset Essentials".