Building Blocks are designed to help developers discover and install XR features using the
Meta XR SDK.
The BuildingBlock MonoBehaviour is used as a container for Metadata. It stores its BlockId, InstanceId, Version as well as InstallationRoutineCheckpoint which helps the Building Blocks system to keep track of which blocks are installed or not, specifically to properly manage dependency chains. For more information, see
Building BlocksIn Editor, you can delete this component by right-clicking the object and using Building Blocks > Break Block Connection, which will erase the Metadata and stop treating the GameObject as a block. Alternatively, you can also delete the component in the Inspector by clicking the Break Block Connection button.
The BuildingBlock MonoBehaviour is not meant to be added dynamically to an existing GameObject at runtime as it requires some specific metadata to properly work register with the Building Blocks system.
See Also: BlockId, InstanceId, Version, InstallationRoutineCheckpoint