Færdiggjort

Solve Unity Networking Error : Trying to send command for object without authority.

I'm trying to send a byte array (developing in Unity, C#) from my client to my server across a local network and I'm getting the error `Trying to send command for object without authority.` when multiple clients are connected to the server simultaneously. If I'm creating an object that's a serialized byte array, how do give it authority?

The full error I'm getting is

Trying to send command for object without authority.

[url removed, login to view]:SendCommandInternal(NetworkWriter, Int32, String)

Network_Transmitter:CallCmdPrepareToReceiveBytes(Int32, Int32)

<DoSendBytes>c__Iterator0:MoveNext() (at Assets/Scripts/Networking/[url removed, login to view])

[url removed, login to view]:StartCoroutine(IEnumerator)

Player_Data:PrepareServerData() (at Assets/Scripts/Player/[url removed, login to view])

Event_Manager:SendTextureData() (at Assets/Scripts/[url removed, login to view])

Game_UI:SendData() (at Assets/Scripts/[url removed, login to view])

[url removed, login to view]:Update()

The entire project can be found here: [url removed, login to view]

Evner: C# Programmering, Unity 3D

Se mere: unity assign client authority, unity local player authority, unity client rpc, assignclientauthority can only be call on the server for spawned objects., unity network command, unity spawn with client authority, assignclientauthority, spawnwithclientauthority, smarty fatal error use object type array, fatal error use object type dtccache array, wordpress fatal error use object type dtccache array, fatal error use object type cart array, error page object expected, fatal error use object type smarty, netconnectioncall method able invoke server side method command

Om arbejdsgiveren:
( 0 bedømmelser ) Norman, United States

Projekt ID: #15673842

Tildelt til:

Forever711

hi, nice to meet you. I'm very interesting your project. I had experience 3 years about that job. if you select me, i'll have done it to do my best. thanks. Relevant Skills and Experience C++, C#, Unity, Network proto Flere

$150 USD in 3 dage
(0 bedømmelser)
0.0