Forum Discussion

theod_l's avatar
theod_l
Copper Contributor
Mar 11, 2021

Error When trying to open 'Advanced Properties' section of Tap to Place script

Also, the 'magnetic surfaces' section does not show up in the 'Advanced Properties' section of the Tap to Place script. I have tried this with multiple objects and nothing is working. This is the error log that I get from Unity (2021.4.21):  

 

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorGUILayout.IsChildrenIncluded (UnityEditor.SerializedProperty prop) (at <208995a09fe148f5a6f6c571838c154f>:0)
UnityEditor.EditorGUILayout.PropertyField (UnityEditor.SerializedProperty property, UnityEngine.GUILayoutOption[] options) (at <208995a09fe148f5a6f6c571838c154f>:0)
Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers.TapToPlaceInspector.RenderAdvancedProperties () (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@4db221506e06-1615388068739/SDK/Editor/Inspectors/Utilities/Solvers/TapToPlaceInspector.cs:118)
Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers.TapToPlaceInspector.RenderCustomInspector () (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@4db221506e06-1615388068739/SDK/Editor/Inspectors/Utilities/Solvers/TapToPlaceInspector.cs:99)
Microsoft.MixedReality.Toolkit.Utilities.Editor.Solvers.TapToPlaceInspector.OnInspectorGUI () (at Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@4db221506e06-1615388068739/SDK/Editor/Inspectors/Utilities/Solvers/TapToPlaceInspector.cs:72)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <208995a09fe148f5a6f6c571838c154f>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 

Resources