From 46da2dfe1b2ceafed0e9706ca48aa4c8feb6b37a Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Mon, 30 Oct 2023 11:06:36 +0100 Subject: [PATCH] Check on possessionlocation being empty besides just null --- .../HumanoidControl/Scripts/Networking/HumanoidNetworking.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Runtime/HumanoidControl/Scripts/Networking/HumanoidNetworking.cs b/Runtime/HumanoidControl/Scripts/Networking/HumanoidNetworking.cs index 823706e..9b680f1 100644 --- a/Runtime/HumanoidControl/Scripts/Networking/HumanoidNetworking.cs +++ b/Runtime/HumanoidControl/Scripts/Networking/HumanoidNetworking.cs @@ -287,7 +287,7 @@ namespace Passer.Humanoid { return; } #else - if (msg.possessionLocation != null) { + if (string.IsNullOrEmpty(msg.possessionLocation)) { Debug.Log("Need to download instantiate avatar possession from " + msg.possessionLocation); remoteHumanoid.physics = msg.physics;