System Information
Operating system: Windows-10-10.0.19042-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47
Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-15 21:08, hash: rB7e42ae7c1af0
Worked: blender-3.0.0-alpha+master from 2021-10-25
Worked: 2.93.8
Caused by rB03013d19d167: Eevee: support accessing custom mesh attributes
Short description of error
Massive lag and terrible viewport navigation (zoom, pan, rotate) performance when
- sculpt vertex color is used on a high polygon mesh (4 or more million) and
- if you enable Viewport Shading -> Color -> Vertex in one 3D viewport
- have another viewport with another Color shading method make this particularly apparent
Note: Just enabling it once totally bricks that object - using other color modes afterwards (like Object or Random) doesn't help. Deleting the broken objects reverts the performance problems.
Exact steps for others to reproduce the error
from factory startup:
- make sure experimental sculpt vertex colors are used:
bpy.context.preferences.experimental.use_sculpt_vertex_colors = True
- open .blend
- navigate in both viewports (esp.the right one) and notice massive lags
Original report
Exact steps for others to reproduce the error
edit: only happens when you use these config files
- open a new scene and add a sphere
- use subdivision surface modifier with 10 levels on the default cube and apply it (viewport navigation like zoom, pan and rotate should be smooth at this point)
- go to sculpt mode and use the sculpt vertex paint brush (don't enable vertex under "viewport shading -> color" yet)
- leave sculpt mode and go to edit mode for example, viewport performance is still normal and smooth but now enable vertex under "viewport shading -> color"
Now you've got terrible zooming performance and initial lag whenever you rotate or pan the viewport. Feel free to choose object or material or any other color mode in the viewport shading menu - it won't help. You need to delete the object to restore viewport performance.
