Open justalemon opened 1 year ago
Was able to replicate this with the same traceback on b1604.
The fork of SHVDN used by FiveM (for reference 1103 is its last documented GameVersion) does not include NativeMemory.cs
.
Besides Entity.cs
, all uses of MemoryAddress
will return IntPtr.Zero and will throw an exception in the subsequent memcpy (gross; see CFX-TODO
in clrcore). You could maybe turn this issue into a feature request?
A semi-related question for bubble is what is the licensing of clrcore/External
? (This part was always unclear to me, given its history. Hopefully this question does not come off as asking maliciously)
I was trying to use World.GetCrosshairCoordinates and I stumbled upon a NullReferenceException when calling said function. I was able to trace back this exception to the Matrix property of GameplayCamera thanks to this test code:
Which will produce the following exception:
I tested game build 2545, I'm not sure if this can be replicated with other game versions.
If more information is needed, feel free to let me know.