Custom node trees may not suppor the default NodeSocketFloat socket type. In case this default type is not supported, search all registered socket types and pick the first one that is supported by the custom node tree. Pull Request: https://projects.blender.org/blender/blender/pulls/113330