HELP! Buttons stop working when made a child of a "Canvas Group" empty in 4.6.3f1?

Okay so now I have noticed a big problem for me.

While creating a rather complicated MainMenu with a few pages and my SceneHUD canvas, I have been using the Rect Transform version Empty GameObject to organize these into containers and/or pages so that I can keep track of all of the little details, but more over, also to control visibility of my widgets that are not always needed. Just to keep the players view from getting too cluttered when certain this are not needed to be Tracked. things like health Bars when the player is not in a combat state or area.

Normally this works out great for me from an organization standpoint. However, my goal is that not everything should be visible at once, and I want a smooth Fade-in and Fade-out transition effect of entire button/widget groups. And not just the buttons background, but the child objects inside them as well.

The Canvas Group script or plug-in, I know allows for entire groups of items to have their Alpha set 0-1, Toggle Intractable of all the children, Block Raycasts, and finally Ignore Parent Groups.

The moment I put a canvas group on the parent empty, all of the child button objects inside 100% breakdown. I have tried toggling the intractable, block raycasts and ignore parent groups in various combinations I even tried turning on and off the whole “Canvas Group” script it self to no avail. even when off but present on the parent empty, Buttons just do not work at all for me.

It took me an hour of troubleshooting to figure out it was the Canvas Group causing this. whats worse it happens even when the button group object is a child of another empty with canvas group attached.

The only way to fix this issue, it to work my way up the container family tree of the canvas and remove every single canvas group from the inspector. Not just turn them off or fiddle with the toggles, but remove it entirely.

I need the overall control of the group’s alpha value for my desired fading effect, and I am not aware of any other way to control this with out having to dive over my head in code. I lucky I can code a main menu control script that is usable with the event system with Application.LoadLevel(string veritable) and .Quit() abilities.

I had the same problem, but in my case using “Blocks raycasts” (and “Interactable” of course) fixed it. (Unity 5.0.1f1)

So with the awesome release of Unity5, this issue is now not even an issue. Thus I guess this is solved.

It’s an issue for me: the same thing happened to me using Unity 5 when I made some buttons into children of a GO with a CanvasGroup.

Adding GraphicRaycaster will help