In 3.5, Instances of materials don't render the same as non-instanced materials

  1. Make two long cubes, about (30,1,1). Position one above the other
  2. Put a script on one cube that causes it to have an instance of a material.
    Something silly like this.
function Start () {
	var BaseMaterial : Material;
	var temp: Array = new Array(renderer.materials);
	temp.Push(BaseMaterial);
	renderer.materials = temp;
}
  1. Start the scene, and position the camera so that you can see the edge of the cubes, but not the center.
  2. When the center of the cubes are out of view of the camera, the one with the script on it should disappear.

Let’s say that I need to have an instanced Material on this cube, but I don’t want it to disappear whenever it’s center leaves the view of the camera. Can this be done?

Also, this doesn’t happen when I make a build of my project. It only happens in the Editor. It’s still kind of distracting.

Project:1146825–43564–$Culling2.rar (4.18 MB)

bump