NullReferenceException when CinemachineFreelook Camera is disabled

I get this error when a game object with an active CinemachineFreelook is disabled.

NullReferenceException: Object reference not set to an instance of an object
Cinemachine.CinemachineBrain.ProcessActiveCamera (System.Single deltaTime) (at C:/Users/x/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.cinemachine@2.2.7/Runtime/Behaviours/CinemachineBrain.cs:487)
Cinemachine.CinemachineBrain.LateUpdate () (at C:/Users/x/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.cinemachine@2.2.7/Runtime/Behaviours/CinemachineBrain.cs:258)

In this case the vcams are nested inside prefabs that are instantiated at runtime.

Is there an update that fixes this?

Thanks

Yeah, this has been fixed in CM 2.2.8, available in preview. To be released soon.

ok thanks. I managed avoid this error by creating a second camera brain that was in the layer I was working with.