The following MCE displays \unit{\micro\gram} as expected, that is with the (upright mu) Micro Sign character:
\documentclass{article}
\usepackage{fontspec}
\usepackage{siunitx}
\setmainfont{TeX Gyre Schola}
% \setmainfont{RobotoFlex-VariableFont.ttf}
\begin{document}
\begin{itemize}
\item Greek Small Letter Mu/Unicode char 03BC: μ/\char"03BC
\item Micro Sign/Unicode char 00B5: µ/\char"00B5
\item \verb|\unit{\micro\gram}|: \unit{\micro\gram}
\end{itemize}
\end{document}
However, if the TeX Gyre Schola font is replaced with the Roboto Flex font, \unit{\micro\gram} is displayed with a slanted mu, so not with a Micro Sign:
I assume this is a bug in the Roboto Flex font, but is there anything that can be done on the (Lua)LaTeX side to resolve the issue?



