fix null ref on dictionary query

dev
Anton Franzluebbers 2023-11-30 15:29:21 -05:00
parent 9be17e05f5
commit 1645a79abc
2 changed files with 3 additions and 2 deletions

View File

@ -710,7 +710,8 @@ namespace VELConnect
{
foreach (string key in data.Keys.ToArray())
{
if (instance.state.room.data[key] == data[key])
instance.state.room.data.TryGetValue(key, out string currentValue);
if (currentValue == data[key])
{
data.Remove(key);
}

View File

@ -1,7 +1,7 @@
{
"name": "edu.uga.engr.vel.vel-connect",
"displayName": "VEL-Connect",
"version": "2.1.1",
"version": "2.1.2",
"unity": "2019.1",
"description": "Web-based configuration for VR applications",
"keywords": [],