The Render Layers node doesn't work if a viewlayer other than the first is selected. This was hard coded in code, so we just allow any view layer, on the condition that it is the active one. Pull Request: https://projects.blender.org/blender/blender/pulls/146285