How to debug this: [Fusion] Unknown [TypeId:00000002]
Options
This happens when I join a game in which a player has spawned an object via addressables.
It doesn't happen when not using addressables but there's no documentation, so I've no idea if i'm doing it correct or not.
My code:
if (playerPrefab == null) { var prefab = await Addressables.LoadAssetAsync<GameObject>("Player"); playerPrefab = prefab.GetComponent<NetworkObject>(); } var playerObject = NetworkRunner.Spawn(playerPrefab, inputAuthority: NetworkRunner.LocalPlayer);
0
Answers
-
Maybe, this happen because playerPrefab don't located in "Networked Project Config" -> "Prefabs"
0 -
It's there, that's the first thing I checked
0 -
did yu solve this dont know how to download from assetbundle please any1 help
0