Skip to content

DebugObjects

Purpose

Owns editor-only diagnostic object visibility coordination.

This territory provides lightweight registration and visibility management for temporary diagnostic GameObjects created by Snap Studio Pro systems.

DebugObjects tracks diagnostic objects but intentionally does not own their lifecycle.

Owns

  • Diagnostic object registration
  • Diagnostic object visibility coordination
  • Shared diagnostic object registry
  • Editor visibility helpers

Does NOT Own

  • Object creation
  • Object destruction
  • Preview object ownership
  • Scene ownership
  • Rendering systems
  • Export workflows

Allowed Dependencies

DebugObjects may depend on:

  • Unity editor types
  • Shared diagnostics systems

DebugObjects should avoid depending directly on:

  • Preview systems
  • Rendering systems
  • Export systems
  • Panel systems

Notes

DebugObjects only tracks objects so visibility settings can be applied consistently.

Creation, cleanup, and destruction remain the responsibility of the owning system.

This separation prevents diagnostics tooling from accidentally becoming an ownership layer.

Future Candidates

  • Diagnostic object grouping
  • Visibility filtering
  • Diagnostic scene utilities