With Latin modern font, the symbol \setminus is invisible (I discovered, by chance, that it had gone from all my documents). Here is a MWE:
\documentclass[10pt,a4paper,french]{article}
\usepackage{mathtools}
\usepackage{babel}
\usepackage[warnings-off={mathtools-colon,mathtools-overbracket},math-style=french]{unicode-math}
\usepackage[scale={0.75,0.8},footskip=1.5cm,heightrounded]{geometry}
\newfontface{\STIXTWO}{STIX Two Math}
\RenewDocumentCommand{\setminus}{}{\mbox{\STIXTWO\symbol{"029F5}}}
\begin{document}
$A\setminus B$
\end{document}
So I tried \newfontface with StiX Two (thanks to an answer that egreg had given me for an another symbol problem) but it doesn't work.
What should I do?


\setmathfont{Latin Modern Math}\setmathfont[range="29F5]{STIX Two Math}– Ulrike Fischer Jul 05 '23 at 08:25\AtBeginDocument, you want\mathbin{\text{\STIXTWO\symbol{"029F5}}}, so the symbol has the correct spacings and scales in subscripts or subscripts. – egreg Jul 05 '23 at 09:11\smallsetminus, that exists in LM Math. – mickep Jul 05 '23 at 14:02