Inconsistent Unmanaged Memory C# behaviour
Go to solution
Solved by Guest,
I'm very drunk but something along the lines of
IntPtr ptrData = Marshal.AllocHGlobal(Marshal.SizeOf(clientToServerControllerInputPacket)); Marshal.StructureToPtr(clientToServerControllerInputPacket, ptrData, false);//
fixed it somewhere in the code with the pointer thingy...

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now