How to debug this
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
How to debug this: [Fusion] Unknown [TypeId:00000002]
jamie_xr
2022-05-18 16:26:56
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);
Comments
Maybe, this happen because playerPrefab don't located in "Networked Project Config" -> "Prefabs"
It's there, that's the first thing I checked
sumitCutevil
2022-08-20 13:45:55
did yu solve this dont know how to download from assetbundle please any1 help
Back to top