diff --git a/Sane Eric's UI/Scriptable Variables/ScriptableVariableLabel.cs b/Sane Eric's UI/Scriptable Variables/ScriptableVariableLabel.cs index 0c172ccd3de1097ee8d90ab73ad78193dd032111..3b91696b280e6f1de9d42b502aef26d7c56621fe 100644 --- a/Sane Eric's UI/Scriptable Variables/ScriptableVariableLabel.cs +++ b/Sane Eric's UI/Scriptable Variables/ScriptableVariableLabel.cs @@ -48,7 +48,7 @@ namespace Shared.SEUI { private string GetValueString() { var value = GetValue(); if (String.IsNullOrEmpty(format)) { - return value.ToString(); + return value != null ? value.ToString() : ""; } return String.Format(format, value); } diff --git a/package.json b/package.json index 5d327c23cbb885fbfac54f066cd260646a1beeb0..f7e79b6f79021f3ebfded984a85eaa024501bf45 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "com.futuretech.shared", "displayName": "FutureTech Shared", "description": "Contains shared items such as the Scriptable Variables.", - "version": "0.1.26", + "version": "0.1.27", "unity": "2019.3", "license": "MIT", "repository": {