No MSAA in Scene View with Unity 2018.2.0 and beyond

I stumbled my way into a roundabout solution to this. Add this component to the Main Camera (or whatever camera is tagged as your MainCamera) in your scene:

[ExecuteAlways, ImageEffectAllowedInSceneView]
public class TurnOnSceneCameraAA : MonoBehaviour
{
    #if UNITY_EDITOR
        [ImageEffectUsesCommandBuffer]
        void OnRenderImage(RenderTexture source, RenderTexture destination)
        {
            Graphics.Blit(source, destination);
        }
    #endif
}

Somehow, the combination of the ImageEffectAllowedInSceneView and ImageEffectUsesCommandBuffer attributes enables MSAA. I have no idea why, but hope this helps others suffering with jaggy scene views.

6 Likes