OpenMMO icon indicating copy to clipboard operation
OpenMMO copied to clipboard

[network][Login Player] LoginPlayer DevExtension Hook invoked with a null reference.

Open francy51 opened this issue 5 years ago • 4 comments

possible typo in one devExtension Hook related to NetworkManager and LoginPlayer

francy51 avatar Feb 27 '20 17:02 francy51

does this still happen?

any note in the log recently?

wovencode avatar Mar 02 '20 15:03 wovencode

The issue was in the hook invocation - the parameters were not being passed in by the Invoke method.

DX4D avatar Jul 12 '21 13:07 DX4D

Zombie Bug - But at least now we have a debug log: https://i.imgur.com/f9pQJhu.png

DX4D avatar Jul 14 '21 00:07 DX4D

Possible Theory: LoginPlayer may be called when the NetworkConnection is null while the client is between zones. Adding a Debug.Log to the login player method to validate the state of each param will help us diagnose the issue now and in the future. Eg: Account x logged in with Player y on Connection z <- (something along those lines)

DX4D avatar Jul 15 '21 14:07 DX4D