Getting / Setting Material Parameter Values During Runtime

Only works on editor because in editor runtime your materials are not cooked yet.

On packaged builds you will not be able to reliably apply changes to root materials.