KleptoLizard
New member
Issues Encountered:
Players cannot see each other after connecting.
Weapon on back of connecting client player flipping constantly from back to hand position.
Firing the rifle causes a massive feedback loop of both characters firing faster and faster.
Steps taken to reproduce:
Imported UCC: 2.2.5 and ran input and layer setup buttons
Installed Pun: 2.22 Photon lib: 4.1.4.5
Then the latest PUN-Opsive multiplayer addon
Running Unity LTS 2017.4.32f
Error Messages:
This is the first error from which the others seem to originate:
"Object reference not set..."
SpawnPlayer (Photon.Realtime.Player newPlayer)
When this error is double-clicked, it opens to line 197 which reads:
"data[i * 4 + 3] = m_Players.Owner.ActorNumber; "
The console says this is called on line 239 of the OnPlayerEnteredRoom method
" SpawnPlayer(newPlayer); "
When I go to the definition of the Player object labled Owner,
it takes me to the ResetOwnership method of the PhotonView class.
At this point I can't make heads or tails of what I'm reading.
I noticed someone having a similar problem and the responding admin said
that the problem was on Photon's end and that a newer version worked around the problem.
Have they re-broken it?
Also noticed that the Ownership region has several methods like SetOwnerInternal.
Can I use these to override whatever it's doing wrong?
Would really appreciate any help.
Players cannot see each other after connecting.
Weapon on back of connecting client player flipping constantly from back to hand position.
Firing the rifle causes a massive feedback loop of both characters firing faster and faster.
Steps taken to reproduce:
Imported UCC: 2.2.5 and ran input and layer setup buttons
Installed Pun: 2.22 Photon lib: 4.1.4.5
Then the latest PUN-Opsive multiplayer addon
Running Unity LTS 2017.4.32f
Error Messages:
This is the first error from which the others seem to originate:
"Object reference not set..."
SpawnPlayer (Photon.Realtime.Player newPlayer)
When this error is double-clicked, it opens to line 197 which reads:
"data[i * 4 + 3] = m_Players.Owner.ActorNumber; "
The console says this is called on line 239 of the OnPlayerEnteredRoom method
" SpawnPlayer(newPlayer); "
When I go to the definition of the Player object labled Owner,
it takes me to the ResetOwnership method of the PhotonView class.
At this point I can't make heads or tails of what I'm reading.
I noticed someone having a similar problem and the responding admin said
that the problem was on Photon's end and that a newer version worked around the problem.
Have they re-broken it?
Also noticed that the Ownership region has several methods like SetOwnerInternal.
Can I use these to override whatever it's doing wrong?
Would really appreciate any help.
Last edited: