Skip to content

Fix null ref when stopping playmode with spatial mapping#10593

Merged
keveleigh merged 3 commits into
microsoft:prerelease/2.8.0from
keveleigh:fix-null-ref
May 19, 2022
Merged

Fix null ref when stopping playmode with spatial mapping#10593
keveleigh merged 3 commits into
microsoft:prerelease/2.8.0from
keveleigh:fix-null-ref

Conversation

@keveleigh

Copy link
Copy Markdown
Contributor

Overview

Adds a null check, in case the GameObject was destroyed before the system is cleaned up.

Changes

@keveleigh keveleigh self-assigned this May 17, 2022
@keveleigh keveleigh marked this pull request as ready for review May 17, 2022 19:31
@keveleigh keveleigh requested a review from david-c-kline as a code owner May 17, 2022 19:31
@keveleigh

Copy link
Copy Markdown
Contributor Author

/azp run

@keveleigh keveleigh requested a review from RogPodge May 17, 2022 19:31
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@keveleigh keveleigh merged commit 418a0f0 into microsoft:prerelease/2.8.0 May 19, 2022
@keveleigh keveleigh deleted the fix-null-ref branch May 20, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GenericXRSDKSpatialMeshObserver thows a MissingReferenceException when stopping play mode in Unity editor

2 participants