bCanChildrenBeAccessible WITH_EDITORONLY_DATA?

I had some errors while compiling, and I solved them like this:

But now I wonder what alternative can i use to have the same configuration in standalone.

Thank you so much!!