They published a guideline on fan art, 2B hentai fan art is still allowed lol, translated by Dualshockers:
The guidelines published by Square Enix concern fan-made content of every game in the
NieR series:
・NieR Replicant
・NieR Gestalt
・NieR:Automata
・NieR Re[in]carnation
・NieR Replicant ver.1.22474487139…
Long story short, the guidelines mention:
1/ Don’t use your content for commercial purposes.
2/ Do not use any material from the series (illustrations, videos, scenarios, music) as is. It’s also forbidden to trace official illustrations.
3/ It’s forbidden to try to pass your content as official.
4/ Don’t do something that could damage the image of the series or exceeds what’s socially acceptable.
5/ Don’t use your content to attack others.
6/ Don’t use content from the series which has its rights shared with another company, such as collab content.
7/ If Square Enix tells you to stop whatever you’re doing, you acquiesce, no questions asked.
On stream, series producer Yosuke Saito said Square Enix is usually okay with everything as long as you don’t sell something and try to pass it off as official merch. He also brought up how Yoko Taro and himself already went to Comiket more than once to sell their own doujinshi. Though they can’t anymore with the pandemic.