Second object to Rosa when loading on the scene

I developed a C# code that displays in the scene 2 assets a cube and a cylinder in real time, but the second that this inside the cube becomes pink because?

I need to activate or deactivate something in the Unity Engine?

Thank you

That color pink generally means that there is something wrong with the material of the object. Maybe there’s a shader error, or one of the texture references on it is null, something along those lines.