This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
InvalidCastException at UnityEngine.UnitySynchronizationContext.ExecuteTasks #76
Closed
Description
Description
After installing the Github plugin v0.12-alpha (b9289f4) on Unity 2017.1.0f1 it requests an update
(accepting or denying it have the same effect)
and the editor log finishes like that
Initializing GitHub for Unity version 0.12.0.0
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
GitHub.Unity.EntryPoint:Initialize() (at /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs:86)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at C:\buildslave\unity\build\Editor\Mono\EditorApplication.cs:109)
(Filename: /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs Line: 86)
Initializing GitHub for Unity log file: C:\Users\zed\AppData\Local\GitHubUnity\github-unity.log
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
GitHub.Unity.EntryPoint:Initialize() (at /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs:86)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at C:\buildslave\unity\build\Editor\Mono\EditorApplication.cs:109)
(Filename: /Users/shana/code/work/github/Unity/src/UnityExtension/Assets/Editor/GitHub.Unity/EntryPoint.cs Line: 86)
with this message repeated multiple times
InvalidCastException: Cannot cast from source type to destination type.
at UnityEngine.UnitySynchronizationContext.ExecuteTasks () [0x0000b] in C:\buildslave\unity\build\Runtime\Export\UnitySynchronizationContext.cs:56
(Filename: C:/buildslave/unity/build/Runtime/Export/UnitySynchronizationContext.cs Line: 56)
this message also repeats a lot on every play.
Steps to Reproduce
- Install Unity 2017.1.0f1
- Install the Github plugin v0.12-alpha (b9289f4)
- Look at the console or the Editor.log
Expected behavior: No errors to be printed
Actual behavior: Lots of (compilation?) errors
Reproduces how often: every time
Additional Information
Not sure if it's a Unity's problem, but it is clearly triggered by the Github plugin.