Meta Spatial SDK

Updated: Jun 11, 2026|
Version
0.13.1
Transform your apps into mixed reality with Spatial SDK, a native Android framework to give your users an innovative spatial experience.

Version 0.13.1 Release Notes

Meta Spatial SDK v0.13.1 introduces hierarchical visibility control, scene-wide global material attributes, path-based entity lookup and other helpful minor fixes.

New Features

ECS
  • Experimental: Added EntityPath for path-based entity lookup using Named and TransformParent hierarchy. Supports absolute paths (EntityPath.find("/A/B/C")), relative paths (Entity.findByPath("B/C")), single-segment child lookup (Entity.findChildByName(name)), and inverse path retrieval (Entity.getPath()). Paths resolve in a single native call at approximately O(depth) cost.
  • Added VisibilityState component for hierarchical visibility control. Entities can be set to VISIBLE, INVISIBLE, or INHERIT (default), where INHERIT resolves by walking the TransformParent chain to the nearest non-INHERIT ancestor. VisibleSystem propagates resolved visibility reactively each tick, re-resolving only changed subtrees.
  • Changes & Improvements

  • Added MeshManager.sweepUnusedMeshes() API for reclaiming unused cached mesh memory. GLXFManager GLXFManager.deleteGLXF() and deleteGLXFEntityAndGetDeletedChildren() APIs also accept an optional sweepUnusedMeshes parameter (defaults to false) to reclaim unused cached mesh memory.
  • Added Scene.setGlobalAttribute(), Scene.clearGlobalAttribute(), and Scene.clearAllGlobalAttributes() for broadcasting a Vector4 uniform value to every material in the scene that has a matching constant binding. Materials loaded after the call pick up the value automatically.
  • Added AlphaMode.PREMULTIPLIED for correct blending of textures with pre-multiplied alpha channels, avoiding double-multiplication artifacts on translucent sprites and decals.
  • Added PixelsPerDegree.Quest3S enum value for correct Quest 3S display resolution detection.
  • Bug Fixes

  • Fixed the Datamodel Inspector displaying Boolean component attributes as integer 0/1 instead of true/false.
  • Version 0.13.1 Samples and Templates Changelog


    Meta Spatial SDK publishes project samples and templates at: Meta Spatial SDK Samples

    This release updates all samples and templates to v0.13.1.

    Changes & Improvements

  • Updated all samples and templates to Meta Spatial SDK v0.13.0, with code quality improvements in MrukSample including refactored mesh creation and improved Kotlin idioms.
  • Bug Fixes

  • Fixed SpatialVideoSample video panel rendering at 2.5x scale on launch in MR mode.
  • Fixed a build error in UISetSamplePartner caused by an invalid private const val declaration in ImmersiveActivity.