mesh paint(vertex paint)doesnt work

recently, i try to use mesh paint or vertex paint in 4.26. there is a proble ,when i work this on a project without raytrac on ,it work perfect ,but if i work on a project with raytrace on in 4.26 , it will crash when i finish paint ,someone know why ?
thankx!!!