MethodAccessException Unity 5.3.6p3 OS X 10.11.6
Trying to open the GitHub window after import I receive the following two errors:
MethodAccessException: Method `UnityEditor.EditorGUIUtility:get_pixelsPerPoint ()' is inaccessible from method `GitHub.Unity.Utility:GetIcon (string,string)'
GitHub.Unity.Styles.get_SmallLogo () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs:653)
GitHub.Unity.Window.OnEnable () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:80)
UnityEditorInternal.InternalEditorUtility:LoadSerializedFileAndForget(String)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
MethodAccessException: Method `UnityEditor.EditorGUIUtility:get_pixelsPerPoint ()' is inaccessible from method `GitHub.Unity.Utility:GetIcon (string,string)'
GitHub.Unity.Styles.get_RepoIcon () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Styles.cs:746)
GitHub.Unity.Window.DoNotInitializedGUI () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:219)
GitHub.Unity.Window.OnGUI () (at /Users/stanleygoldman/Documents/UnityInternal/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs:131)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Thanks for the report, I'll be sure to make sure it is in the release notes. We started with a target of Unity 5.5. Hopefully soon we can turn the dial back some.
@MosheBenZacharia Keep an eye out for the next releases, we'll fix the support for earlier versions of Unity soon.
Could you add a list or matrix of supported/tested Unity versions and operating systems? Make it editable by the community so that users can add a combination they are successfully using.
Hey @thorade we are planning to go open source with the project when we hit beta. We will have much more by way of documentation than we do now. We will also take pull requests. 👍
Hey all, there is a new repo with an issue for this problem. https://github.com/github-for-unity/Unity/issues/1 There is also a PR in progress.