Ed-Gilmour
Ed-Gilmour
I'm currently having this issue when running on mac. Potentially has something to do with Steam version due to clear download cache fixing it on a different device, and the...
Update: Switching to the Steamworks.NET v164.1 fixed it.
I'm having the same issue, I can't build my game for Linux because of this and it should work because switch controllers are supported on Linux. Are there any updates...
@NoelStephensUnity Sure, I'm spawning the prefab via my own script so here is the code ``` GameObject playerObj = Instantiate(playerPrefab, spawnTransform.position, spawnTransform.rotation); NetworkObject playerNetObj = playerObj.GetComponent(); playerNetObj.SpawnAsPlayerObject(NetworkManager.LocalClientID, true); ``` Here's...
@NoelStephensUnity I'm using Client Server, when Distributed Authority was added it defaulted my network objects to it. Is this the issue? What should I have the network objects be?
@NoelStephensUnity Here's the code that despawns the player network object ``` if(IsHost) { NetworkObject.Despawn(); } ``` The player is despawned when their health goes below zero usually when hit by...
It is being destroyed when I despawn it, so it's not going into the next scene.
That is similar to what's happening in my project except the only error I get is on the network object. Also the client does not destroy the object, they instead...
The new project is working well! Thanks for setting that up. So I don't think the issue is to do with the player object being disabled on the client because...
@NoelStephensUnity I tried your solution you made here and it works well! https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/3230 When do you think it'll be merged into the release version? Thanks for the help!