Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.5.6.1 does not work on linux using mono #42

Open
AlexALX opened this issue Dec 10, 2019 · 1 comment
Open

Version 0.5.6.1 does not work on linux using mono #42

AlexALX opened this issue Dec 10, 2019 · 1 comment
Labels
on ice This will be worked on eventually, but not anytime soon problematic Something isn't working. Not essentially a bug

Comments

@AlexALX
Copy link

AlexALX commented Dec 10, 2019

Version 0.5.6.1 does not work on linux using mono, got crash on server startup:

Failed to load server, Exception was Exception: NullReferenceException
Message:Object reference not set to an instance of an object
Source:0Harmony

System.NullReferenceException: Object reference not set to an instance of an object
  at Harmony.ILCopying.Memory.WriteBytes (System.Int64 memory, System.Byte[] values) [0x0000c] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.ILCopying.Memory.WriteJump (System.Int64 memory, System.Int64 destination) [0x00041] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.ILCopying.Memory.DetourMethod (System.Reflection.MethodBase original, System.Reflection.MethodBase replacement) [0x0003b] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Harmony.PatchInfo patchInfo, System.String instanceID) [0x00056] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.PatchProcessor.Patch () [0x000e4] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.HarmonyInstance.<PatchAll>b__9_0 (System.Type type) [0x0002c] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x0001b] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Harmony.HarmonyInstance.PatchAll (System.Reflection.Assembly assembly) [0x00007] in <ea592bdb61774af08c3f432fec48ded1>:0
  at Asphalt.Api.Asphalt..cctor () [0x00033] in <f0a49a6b2586428eb7da139783ce61b3>:0

But 0.5.6.0 seems to be working, but with exit issue (must send exit command instead).

@manureini
Copy link
Member

Hello ;)
Yes this is an issue, but I have no idea to fix it.
Afaik 9.0 will use .Net Core (I think currently not official confirmed). So we don't need it in the future anyway. But if you know a fix feel free to pr :P

@kronnox kronnox added on ice This will be worked on eventually, but not anytime soon problematic Something isn't working. Not essentially a bug labels Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on ice This will be worked on eventually, but not anytime soon problematic Something isn't working. Not essentially a bug
Projects
None yet
Development

No branches or pull requests

3 participants