Im making a multiplayer game and its already working the multiplayer, for some reason it only works on LAN like the multiplayer examples.
The point here is that i have 2 problems:
1 - The multiplayer doesnt work online, only in LAN, when a friend tries to connect as peer and it says "attempting to stablish connection" and then he is kicked after some seconds. In LAN the game works fine. I also installed Hamachi and the game worked palying with my friend but I want it to play online without using hamachi.
2 - The other problem i have is that the peer input it's too laggy, it has a delay when i press down the buttons and only after some mseconds the object starts moving. I already tested the input prediction but it makes it worse... Only the peer is lagging the host is perfect.