OnBeginCursorOver.AddDynamic not working in 4.9?

Hey,

Found Something.

Here is the PostInitializeComponents of my hud.

When i block the execution of Viewport->AddViewportWidgetContent by adding a comment to the line, the hovering is back and ok.

void AYagHUD::PostInitializeComponents()
{
	Super::PostInitializeComponents();
	
	if (GEngine && GEngine->GameViewport)
	{
		// get viewport
		UGameViewportClient* Viewport = GEngine->GameViewport;

		// mother widget that contains everything
		SAssignNew(YagHUDWidget, SYagHUDWidget)
			.YagHUD(TWeakObjectPtr<AYagHUD>(this));

		// add the mother widget
		// WHEN COMMENTING THIS LINE, THE HOVERING WORKS FINE
		//Viewport->AddViewportWidgetContent(SNew(SWeakWidget).PossiblyNullContent(YagHUDWidget.ToSharedRef()));
	}
}

So That’s definitely a problem of interaction with the UI that appeared with 4.9 migration (thanks DerChris for pointing me to the UI).

Cheers

Cedric