0
Not a bug

Compile errors in unity 4.6.0b17

Jason Creswell 10 years ago updated by tmpxyz 10 years ago 4
Just unpacked the asset from the store a few minutes ago and I'm having these compilation issues.

Assets/Skele/CharacterAnimationTools/Scripts/Cutscene/Dialog/UGUI/CC_Unity_SelectDialog.cs(66,42): error CS1061: Type `Options' does not contain a definition for `m_Prompt' and no extension method `m_Prompt' of type `Options' could be found (are you missing a using directive or an assembly reference?)


Assets/Skele/CharacterAnimationTools/Scripts/Cutscene/Dialog/UGUI/CC_Unity_SelectDialog.cs(66,23): error CS1502: The best overloaded method match for `UnityEngine.GUILayout.Label(UnityEngine.Texture, params UnityEngine.GUILayoutOption[])' has some invalid arguments


Assets/Skele/CharacterAnimationTools/Scripts/Cutscene/Dialog/UGUI/CC_Unity_SelectDialog.cs(66,23): error CS1503: Argument `#1' cannot convert `object' expression to type `UnityEngine.Texture'


Assets/Skele/CharacterAnimationTools/Scripts/Cutscene/Dialog/UGUI/CC_Unity_SelectDialog.cs(70,53): error CS1061: Type `Options' does not contain a definition for `m_Options' and no extension method `m_Options' of type `Options' could be found (are you missing a using directive or an assembly reference?)


Assets/Skele/CharacterAnimationTools/Scripts/Cutscene/Dialog/UGUI/CC_Unity_SelectDialog.cs(109,38): error CS1061: Type `Options' does not contain a definition for `m_Options' and no extension method `m_Options' of type `Options' could be found (are you missing a using directive or an assembly reference?)

Under review
Hi, Jason Creswell,

Thanks for your feedback =)

I haven't played with u4.6 yet, so I'm not 100% sure here.
But according to the error logs, it looks that there's a "Options" class put in global namespace that has a name conflict with Skele's MH.GUIData.Options.

As all of the Unity classes should be in their own namespaces, I doubt that this conflict is caused by another plugin or some custom classes. Could you do me a favor to check again if there's a "Options" class in the project? 

If you find no trace of what I described, please tell me and I will get a copy of u4.6 and test against it after I'm back.

Best regards, Be creative.
That seems to have been it, thanks for the quick response.
You're welcome.
If you find any other issues, just tell me =)