Consider a locally compact Hausdorff $σ$-compact topological space $X$ and a locally compact Hausdorff $σ$-compact topological group $G$ acting continuously and transitively on $X$ such that there exists a $G$-invariant Radon measure $\mu$ on $X$.
Now suppose $f: X \to [0, 1]$ is a Borel-measurable function on $X$ that is a.e. $G$-invariant. That means for every $g \in G$ we have$f(g x) = f(x)$ for $\mu$-almost every $x \in X$.
How do you show (if true) that such an $f$ will be constant outside of a set of measure zero?
I'm trying to use this to show that any $G$-invariant measure on $X$ would be unique up to scale using the approach outlined in this answer.