Skip to content

Commit 7a44abd

Browse files
committed
Don't mark as initialized too early
1 parent 593c52f commit 7a44abd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Assets/MRTK/Services/SpatialAwarenessSystem/MixedRealitySpatialAwarenessSystem.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@ public bool CheckCapability(MixedRealityCapability capability)
7070
/// <inheritdoc/>
7171
public override void Initialize()
7272
{
73-
base.Initialize();
74-
7573
meshEventData = new MixedRealitySpatialAwarenessEventData<SpatialAwarenessMeshObject>(EventSystem.current);
76-
7774
InitializeInternal();
75+
base.Initialize();
7876
}
7977

8078
/// <summary>

0 commit comments

Comments
 (0)