libgit2 / libgit2/libgit2sharp
New Feature: Compatibility with Unity3d 5.4+
还没有人认领这个 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
未指定任何仓库文件、测试或入口点。先根据 ReflectionTypeLoadException 和 v17 DLLNotFoundException 重现报告的 Unity3d 5.4+ OSX 故障,然后调查所请求的 Unity package 兼容性;当 package 在所述 Unity 环境中成功安装并加载时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp, unity
- 领域
- game-dev, tooling
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100