Search Unity

Second object to Rosa when loading on the scene

Discussion in 'Scripting' started by Robotrol, Nov 8, 2017.

  1. Robotrol

    Robotrol

    Joined:
    Nov 8, 2017
    Posts:
    3
    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
     
  2. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    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.