Short description of error
Sculpting strokes are not showing when you switch to LookDev / Rendered modes, it only works in solid mode.
Exact steps for others to reproduce the error
Launch blender, go to File / New / Sculpting, do some brush strokes on the sphere, then switch to lookdev / rendered mode. The sphere will appear intact.