From 7706372a7a38183a5717bf3106c2d6723139cb7f Mon Sep 17 00:00:00 2001 From: Emiliana <38952746+emilianavt@users.noreply.github.com> Date: Fri, 28 Feb 2020 20:34:39 +0100 Subject: [PATCH] This fixes exceptions with network tracking. --- Unity/OpenSee.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unity/OpenSee.cs b/Unity/OpenSee.cs index ccfde9d..def98a6 100644 --- a/Unity/OpenSee.cs +++ b/Unity/OpenSee.cs @@ -196,7 +196,7 @@ public class OpenSee : MonoBehaviour { } void Update () { - if (!receiveThread.IsAlive) { + if (receiveThread != null && !receiveThread.IsAlive) { Start(); } }