libgit2 / libgit2/libgit2sharp

New Feature: Compatibility with Unity3d 5.4+

Offen
#1,375 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
C#
Sterne
3.5k
Forks
925
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Es werden keine Repository-Dateien, Tests oder Einstiegspunkte genannt. Beginne damit, den gemeldeten Unity3d 5.4+ OSX-Fehler aus der ReflectionTypeLoadException und der v17 DLLNotFoundException zu reproduzieren, und untersuche anschließend die angeforderte Kompatibilität des Unity-Pakets; als abgeschlossen gilt die Aufgabe, wenn das Paket in den angegebenen Unity-Umgebungen erfolgreich installiert und geladen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp, unity
Bereich
game-dev, tooling
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.