I use navigation library and safeargs for passing data. I define argument to fragment like that.
In my case I manually added the arguments... in the wrong place