Skin do not work photon
Posted: Tue Jul 09, 2019 6:52 am
Hi,
Others player can not see if players have skins in the weapons,
Help please
Others player can not see if players have skins in the weapons,
Help please
Official forum site of LovattoStudio
https://www.lovattostudio.com/forum/
Code: Select all
NullReferenceException: Object reference not set to an instance of an object
CustomizerCamoRender.ApplyCamo (System.String weapon, System.Int32 camoID) (at Assets/Addons/Customizer/Content/Script/Internal/Structures/CustomizerInfo.cs:56)
bl_CustomizerWeapon.ApplyAttachments () (at Assets/Addons/Customizer/Content/Script/Core/bl_CustomizerWeapon.cs:65)
bl_CustomizerWeapon.ApplyAttachments (System.String line) (at Assets/Addons/Customizer/Content/Script/Core/bl_CustomizerWeapon.cs:77)
bl_PlayerSync.SyncCustomizer (System.Int32 weaponID, System.String line, Photon.Pun.PhotonMessageInfo info) (at Assets/MFPS/Scripts/Network/bl_PlayerSync.cs:414)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7ba07f088431485bb722f3b3373e87ee>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7ba07f088431485bb722f3b3373e87ee>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <7ba07f088431485bb722f3b3373e87ee>:0)
Photon.Pun.PhotonNetwork.ExecuteRpc (ExitGames.Client.Photon.Hashtable rpcData, Photon.Realtime.Player sender) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:488)
Photon.Pun.PhotonNetwork.OnEvent (ExitGames.Client.Photon.EventData photonEvent) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:1997)
Photon.Realtime.LoadBalancingClient.OnEvent (ExitGames.Client.Photon.EventData photonEvent) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2782)
ExitGames.Client.Photon.PeerBase.DeserializeMessageAndCallback (ExitGames.Client.Photon.StreamBuffer stream) (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:640)
ExitGames.Client.Photon.EnetPeer.DispatchIncomingCommands () (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:544)
ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands () (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1535)
Photon.Pun.PhotonHandler.FixedUpdate () (at Assets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:116)