BGS 0.20 variables not appear


#1

When I create a variable in blox, this error appears,
variable is not displayed in the blox container(script).
unity ver 2018.1.7

NullReferenceException: Object reference not set to an instance of an object
BGSEngine.Variable.Copy (System.Boolean forRuntime) (at D:/DevBGS/_source/BGSEngine/Variables/Variable.cs:97)
BGSEngine.BloxContainer._CheckVariables (BGSEngine.BloxVariables v, BGSEngine.Blox b) (at D:/DevBGS/_source/BGSEngine/Blox/BloxContainer.cs:441)
BGSEngine.BloxContainer.GetBloxVariables (System.String bloxIdent, BGSEngine.Blox b) (at D:/DevBGS/_source/BGSEngine/Blox/BloxContainer.cs:352)
BGSEditor.BloxContainerInspector.OnSelectBlox () (at D:/DevBGS/_source/BGSEditor/Blox/Inspectors/BloxContainerInspector.cs:280)
BGSEditor.BloxContainerInspector.OnBloxVariablesChanged (System.String bloxIdent) (at D:/DevBGS/_source/BGSEditor/Blox/Inspectors/BloxContainerInspector.cs:200)
BGSEditor.BloxBlocksList.CreateVariable (BGSEditor.VariableCreateWiz wiz) (at D:/DevBGS/_source/BGSEditor/Blox/BloxMainEditor/BloxBlocksList.cs:537)
BGSEditor.VariableCreateWiz.Update () (at D:/DevBGS/_source/BGSEditor/Variables/VariableCreateWiz.cs:41)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:291)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:284)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:363)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:183)

#2

also in Event on triger enter,exit,stay with info , eVariable other collider not available.
all functions in unity engine added via Blocks setup not work.


(Leslie Young) #3

Thanks for report. I’m looking into it.


#4


Now everything is working fine thanks.
How to add anything from third party plugins?


(Alien) #5

should just be able to put the additional namespaces in the list like you got, textmesh pro added.

the * at the top of the list should pull in most still. maybe a symptom of the beta.


(Leslie Young) #6

:face_with_raised_eyebrow: strange, I’ll check what is going on. It should have worked since UnityEngine is also just a “3rd party namespace” being pulled in and that entry worked.