- Home /
Unity 4.6 - 5 Canvas Group Error.
I am following a tutorial from unity 4.6 and everything is working perfectly execpt the Canvas Group is messing with the buttons on a gui menu; making them unclickable and they have now have no animations.
The Canvas Group is attached the the Main Menu Object with houses the buttons
Canvas
-Main Menu
--Panel
---Menu_Objects
----Button1
----Button2
----Button3
I am getting the following error:
MissingMethodException: Cannot find the requested method UnityEngine.UI.Selectable.OnCanvasGroupChanged () (at C:/buildslave/unity/build/Exensions/guisystem/UI/Core/Selectable.cs:136)
Hi,
Any update on this ?
I'm using the same method here and I'm having the same problem. The menu was working fine until I add the GameObject to group the buttons.
I'd guess that you need using UnityEngine.UI;
at the top of your script but almost impossible to tell as you haven't posted the script that contains the error.
There is no script from my side, it's from the Core of Unity. All the animation process and state change is done using the unity animation system (and the UI). The exactly same project works fine in Unity 4.6
Ah saw the 4.6 but not the 5, can't help sorry as I only have 4.6 but 5 is still beta so may well be bug filled. If there's a new beta of 5 try downloading that.
Answer by diego.borghetti · Dec 12, 2014 at 10:02 AM
Update to the last Unity beta version (5.0.0b16) fix the problem.
Your answer

Follow this Question
Related Questions
Is it possible to suspend GUIs after running fade-in scripts? 1 Answer
NullReferenceException 1 Answer
Problem with multiple scripts 2 Answers
GUI Popup problem…! 1 Answer
Ngui with Unity Remote 4 1 Answer