UnityRef is currently in early development. Some features may be incomplete and/or not functioning.

UNITYREF

Your Pit Stop For Solving ANYTHING in Unity

editor

[Pro Builder] Eliminate Drag Select Shader Recompile Lag

Under Audit

performanceasset pipeline

Unity 6.1.x - Unity 6.3.x

Published 19 days ago

Using Pro Builder's drag-select feature can unexpectedly trigger a full project shader recompile, leading to repeated recompilation upon saving or closing the editor.

Issue

 When using Pro Builder, drag-selecting multiple verts, edges, or faces triggers a full project shader recompile. This shader recompile can occur multiple times: once upon drag-selection, again if the scene is saved after the initial shader recompile, and a third time if Unity is closed without saving the scene after the initial shader recompile. The issue appears to be exclusive to Pro Builder drag-selection, with no other project actions causing the same shader recompile.

Experimental Fixes
  • Verify Pro Builder package is up-to-date and compatible with your Unity editor version.
  • Clear the shader cache: Navigate to your Project folder, delete the Library directory, and reopen the Unity Editor to force a reimport.
  • Check Project Settings > Editor for Asset Pipeline settings, specifically related to Auto Refresh or Asset Database processing, which might implicitly trigger shader updates.

Editor's Note:

The above fixes have not been verified by our audit team yet. They are provided exclusively for your own technical research. We recommend creating a backup of your project before proceeding with any attempts. Utilize at your own discretion!

Related Posts Haven't quite found a solution to your problem? We think these posts might help you.

Content inspired by a Unity discussion post.