NeighTools / UnityDoorstop

Doorstop -- run C# before Unity does!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add that Doorstop.dll must be netstandard2.0 and not net7.0 in the documentation

RationalFragile opened this issue · comments

Hi, I didn't test with all dotnet versions, but when I compiled my Doorstop.dll (with my default net7.0) it crashes with the log below (pasting it here for future google searches), I tested multiple games.
After a few hours of trying, it occurred to me to try with netstandard2.0 and then it worked. So please add some indication to this in the installation instructions. Thanks.

0x00007FFA0BAF4ED9 (KERNELBASE) RaiseException
0x00007FF9A0D26025 (mono-2.0-bdwgc) mono_dl_open
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF9A0D14D41)
0x00007FF9A0D14D41 (mono-2.0-bdwgc) (function-name not available)
0x00007FF9A0D52564 (mono-2.0-bdwgc) mono_class_num_properties
0x00007FF9A0D6078E (mono-2.0-bdwgc) mono_method_desc_search_in_image
0x0000000180003A2A (WINHTTP) WinHttpWriteProxySettings
0x00000001800037DE (WINHTTP) WinHttpWriteProxySettings
0x00007FF99EFFE4DF (UnityPlayer) UnityMain
0x00007FF99F006B3E (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF99EC716FA)
0x00007FF99EC716FA (UnityPlayer) (function-name not available)
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF99EC75AAB)
0x00007FF99EC75AAB (UnityPlayer) (function-name not available)
0x00007FF99EC7783B (UnityPlayer) UnityMain
  ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF76D4311F2)
0x00007FF76D4311F2 (hollow_knight) (function-name not available)
0x00007FFA0CAF7034 (kernel32) BaseThreadInitThunk
0x00007FFA0E082651 (ntdll) RtlUserThreadStart