libgit2 / libgit2/libgit2sharp

New Feature: Compatibility with Unity3d 5.4+

未關閉
#1,375 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
C#
星號
3.5k
分支
925
PR 合併指標
30 天內沒有已合併 PR

描述

I could not get Unity3d 5.4 OSX to work correctly with this project. I did not try Unity3d Windows. It would be a great feature to be able to use a Unity3D package to just install it in a project. I can see that there would be many Unity3d Editor plugins that could be made to take advantage of the libgit2sharp project.

From the latest branch v22:

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000] in :0
at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in :0
at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in :0
at Mono.CSharp.Driver.LoadReferences () [0x00000] in :0
at Mono.CSharp.Driver.Compile () [0x00000] in :0
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0

Missing method .ctor in assembly /Users/mike/Projects/TestLibGit2Again/Assets/Plugins/Release/LibGit2Sharp.dll, type System.Runtime.Versioning.TargetFrameworkAttribute
The class System.Runtime.Versioning.TargetFrameworkAttribute could not be loaded, used in LibGit2Sharp
Can't find custom attr constructor image: /Users/mike/Projects/TestLibGit2Again/Assets/Plugins/Release/LibGit2Sharp.dll mtoken: 0x0a00000a

From the branch v17:
I got DLLNotFoundExceptions.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

未指定任何 repository 檔案、測試或進入點。先根據 ReflectionTypeLoadException 和 v17 DLLNotFoundException 重現回報的 Unity3d 5.4+ OSX 故障,然後調查所要求的 Unity package 相容性;當 package 在指定的 Unity 環境中成功安裝並載入時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp, unity
領域
game-dev, tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。