The main problem is that the node tree was not properly updated after a property in the tree changed. More specifically, the collection pointer in the Collection Info node was cleared, but the node tree was not updated after that (usually this is handled by rna updates). Differential Revision: https://developer.blender.org/D16289