Skip to main content
fixed typos, removed edit breaks, added tag
Source Link
Pikalek
  • 12.5k
  • 5
  • 45
  • 52

I have an older Unity Unet Game which iI build 2 or 3 years ago and forgot about it. Now iI wanted to show it to a friend but it does not work anymore. When iI start the server as player1 in the editor iI can see that player2 can join and no errors (using runtime build) occur in the console but player2 cantcan't play, he seems stuck but iI can see him in the hierarchy of the editor.

When iI start the server as player1 in the runtime and try to join with player2 in the editor iI can see that player2 has a playercontroller-id of -1 a network-id of 0 and also a scene-id of 0.

Is that because Unet is EoL or should it work and iI just missed something?

Edit I can still see the other player and can kill him but the other player simply seems to not take over the main camera. I have to investigate a bit further.

In the editor iI got this error message:

Edit I kind of fixed it by adding the following method to my networkbehavior

butBut now lots of other bugs occur, when iI kill my opponent points are not assigned and so on. Does this happen because of deprecated unetUnet or am iI just too dumb?

Edit I buildtbuilt the game using version 2018.3.11f1 which seems to have some differences to 2018.3.0f2. Using the correct minor version did the trick. I wonder that much has changed between these 2 minor change releases.

I have an older Unity Unet Game which i build 2 or 3 years ago and forgot about it. Now i wanted to show it to a friend but it does not work anymore. When i start the server as player1 in the editor i can see that player2 can join and no errors (using runtime build) occur in the console but player2 cant play, he seems stuck but i can see him in the hierarchy of the editor.

When i start the server as player1 in the runtime and try to join with player2 in the editor i can see that player2 has a playercontroller-id of -1 a network-id of 0 and also a scene-id of 0.

Is that because Unet is EoL or should it work and i just missed something?

Edit I can still see the other player and can kill him but the other player simply seems to not take over the main camera. I have to investigate a bit further.

In the editor i got this error message:

Edit I kind of fixed it by adding the following method to my networkbehavior

but now lots of other bugs occur, when i kill my opponent points are not assigned and so on. Does this happen because of deprecated unet or am i just too dumb?

Edit I buildt the game using version 2018.3.11f1 which seems to have some differences to 2018.3.0f2. Using the correct minor version did the trick. I wonder that much has changed between these 2 minor change releases.

I have an older Unity Unet Game which I build 2 or 3 years ago and forgot about it. Now I wanted to show it to a friend but it does not work anymore. When I start the server as player1 in the editor I can see that player2 can join and no errors (using runtime build) occur in the console but player2 can't play, he seems stuck but I can see him in the hierarchy of the editor.

When I start the server as player1 in the runtime and try to join with player2 in the editor I can see that player2 has a playercontroller-id of -1 a network-id of 0 and also a scene-id of 0.

Is that because Unet is EoL or should it work and I just missed something?

I can still see the other player and can kill him but the other player simply seems to not take over the main camera. I have to investigate a bit further.

In the editor I got this error message:

I kind of fixed it by adding the following method to my networkbehavior

But now lots of other bugs occur, when I kill my opponent points are not assigned and so on. Does this happen because of deprecated Unet or am I just too dumb?

I built the game using version 2018.3.11f1 which seems to have some differences to 2018.3.0f2. Using the correct minor version did the trick. I wonder that much has changed between these 2 minor change releases.

added 225 characters in body
Source Link
MBrain
  • 75
  • 1
  • 10

Edit I buildt the game using version 2018.3.11f1 which seems to have some differences to 2018.3.0f2. Using the correct minor version did the trick. I wonder that much has changed between these 2 minor change releases.

Edit I buildt the game using version 2018.3.11f1 which seems to have some differences to 2018.3.0f2. Using the correct minor version did the trick. I wonder that much has changed between these 2 minor change releases.

added 399 characters in body
Source Link
MBrain
  • 75
  • 1
  • 10

Edit I kind of fixed it by adding the following method to my networkbehavior

 public override void OnDeserialize(NetworkReader reader, bool initialState)
 {
     base.OnDeserialize(reader, initialState);
 }

but now lots of other bugs occur, when i kill my opponent points are not assigned and so on. Does this happen because of deprecated unet or am i just too dumb?

Edit I kind of fixed it by adding the following method to my networkbehavior

 public override void OnDeserialize(NetworkReader reader, bool initialState)
 {
     base.OnDeserialize(reader, initialState);
 }

but now lots of other bugs occur, when i kill my opponent points are not assigned and so on. Does this happen because of deprecated unet or am i just too dumb?

added 2573 characters in body
Source Link
MBrain
  • 75
  • 1
  • 10
Loading
deleted 21 characters in body
Source Link
MBrain
  • 75
  • 1
  • 10
Loading
Source Link
MBrain
  • 75
  • 1
  • 10
Loading