Let $A \in \mathbb{R}^m$ be some set with the property that it is easy (polynomial-time computation) to generate random elements $r \in A$. Is it then also easy to compute
$$ P_A(x) := \arg \min_{y\in A} \;\|y-x\| ,$$
that is, the set of elements in $A$ nearest $x$?
You may assume $A$ is locally affine, and whatever definition of random is most convenient. If that's still too vague, here are two examples where $A$ is discrete.
Suppose $A \subset \mathbb{R}^{n\times n}$ is the set of all $n!$ permutation matrices. It's clearly easy to generate random $n\times n$ permutation matrices. Moreover, the projection to a permutation matrix nearest a given $x\in\mathbb{R}^{n\times n}$ can be computed in time $n^3$ with the Hungarian algorithm.
Instead, let $A\subset\mathbb{R}^{n\times n\times n}$ be the set of tensors with $n^2$ 1s (rest 0) such that there's a single 1 in each row, column, and whatever you call the third index. This is the set of Latin squares and it's not easy to generate random elements (and computing projections is harder still).
Edit:
Iosif came up with a good counterexample: Given an arbitrary lattice basis, it's easy to generate lattice elements, while it is known to be hard to find nearest lattice points.
This suggests the following qualification on the set $A$: It should be possible to specify $A$ with a fixed amount of data, so the only parameter on which the complexity of the computation can depend is the dimension of the space.
For example, if $A=D_n$, the checkerboard lattice in $n$ dimensions, computing the nearest element is easy. Other examples with the fixed-data property are low rank matrices, sparse vectors, orthogonal matrices, and the probability simplex. For all of these it's easy to generate random elements, and finding nearest elements is also easy.
When the amount of data in the specification of $A$ is fixed, the set $A$ will have a lot of symmetry. Symmetry might therefore be another way to make the conjecture work. In fact, that would allow the $A$ comprising all permutations of a list of $n$ arbitrary real numbers. This $A$ has a lot of symmetry, despite an amount of data that grows with $n$, and projecting to it is easy.