Improbable Icon

Null Reference Exception Unity

Getting the following Null Reference Exception when generating code within Unity.

NullReferenceException: Object reference not set to an instance of an object
Improbable.Gdk.Tools.GenerateCode.ForceGenerate () (at Library/PackageCache/io.improbable.gdk.tools@0.3.7/GenerateCode.cs:96)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at :0)

I have also seen this Null Ref at startup:
NullReferenceException: Object reference not set to an instance of an object
Improbable.Gdk.Tools.GenerateCode.GenerateCodegenRunConfigs () (at Library/PackageCache/io.improbable.gdk.tools@0.3.7/GenerateCode.cs:473)
Improbable.Gdk.Tools.GenerateCode.SetupProject () (at Library/PackageCache/io.improbable.gdk.tools@0.3.7/GenerateCode.cs:127)
Improbable.Gdk.Tools.GenerateCode.InitializeOnLoad () (at Library/PackageCache/io.improbable.gdk.tools@0.3.7/GenerateCode.cs:60)

Hi @Crash

Are you upgrading from a previous version of the GDK?