With (setq prettify-symbols-unprettify-at-point 'right-edge) prettified symbol loses its face property after the cursor is placed on it:

There is no such issue in other major modes, so it must be something happening in scala-mode specifically.
My setup is basically the same as https://github.com/hlissner/doom-emacs/blob/develop/modules/ui/pretty-code/%2Bfira.el#L6
Emacs 27.0.50
scala-mode 56cba29