Why does Get return null?

The component is there. Just not on this object.

Why does Get return null?

The problem

The renderer is on a child.

// Player//  └ Body  (ModelRenderer) protected override void OnStart(){    _body = Components.Get<ModelRenderer>();    _body.Tint = Color.Red;}

Get only looks at this GameObject. The model lives on its child, Body, so this returns null.

The fix

Say where to look.

GetInChildren checks the objects one level under this one. GetInDescendants goes all the way down.

Get→this object
GetInChildren→its children

The fix in code

Look down the tree.

protected override void OnStart(){    _body = Components.GetInChildren<ModelRenderer>();    _body.Tint = Color.Red;}

Body is one level down, so GetInChildren finds it. Look it up once in OnStart, then keep it.

Going further

Pick exactly where with FindMode.

var parts = Components.GetAll<ModelRenderer>(    FindMode.EverythingInSelfAndDescendants );

Everything means disabled ones too. Our reward box finds all its parts this way.

The rule

Get only looks here.

This object
Components.Get<T>()
One level down
GetInChildren<T>()
Any depth
GetInDescendants<T>()