Skip to content

Some objects not cleaned up when closing the scene #3539

@genereddick

Description

@genereddick

Overview

When running a project in the editor using Holographic Simulation, on stopping the project it throws an error (see below). I can't tell if this error has any residual effect, but Holographic Simulation is extremely buggy for me (slow to close, freezes, crashes sometimes) so possible it is related.

Expected Behavior

No errors.

Actual Behavior

Error:
Some objects were not cleaned up when closing the scene. (Did you spawn new GameObjects from OnDestroy?)
The following scene GameObjects were found:
Spatial Awareness System
WindowsMixedRealitySpatialMeshObserver

Steps to reproduce

(Links to sample github project preferred)
This happens to me with a, more or less, default project, using latest vNext code.

Unity Editor Version

2018.3.6f1

Mixed Reality Toolkit Release Version

vNext

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions