Hi there,
These scripts are a part of our Quickstart Scene in Unity, I recommend you look into the logic of how everything works in the Quickstart Scene.
If you can’t find the Quickstart Scene in your assets, in Unity go to → Tools → Ready Player Me → Integration Guides → Load Quickstart Scene.
When it comes to the shader issue, please check the following forum post for solution: Avatar appearing different in the build