libgit2 / libgit2/libgit2sharp

New Feature: Compatibility with Unity3d 5.4+

Open
#1,375 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
3.5k
Forks
925
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named. Start by reproducing the reported Unity3d 5.4+ OSX failure from the ReflectionTypeLoadException and the v17 DLLNotFoundException, then investigate the requested Unity package compatibility; done means the package installs and loads successfully in the stated Unity environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.