Yes, it would make sense for FoldoutGroup to respect the "Foldout By Default" setting, we'll make sure to fix that. We could also add an overload to the FoldoutGroup if someone wanted to override the setting for special cases. Remembering what is expanded/collapsed in the inspector is something we are working on as well. I can't promise it will make it into the next patch, (which should be coming out soon). But definitely the one after that.