[BUG] PreviewField will change filterMode(Point) when value is a RenderTexture !

Issue #971 resolved
wubin chen created an issue

When a component's field is of type RenderTexture and [PreviewField] is added, the original filterMode of the RenderTexture will be changed to the one set in the PreviewField.

Reproduction:

  1. Any component,create field
    [PreviewField]
    public RenderTexture rt;
  1. Create a RenderTexture asset with FilterMode=Point
  2. Assign the asset to rt

Then you will notice that the filterMode of the asset has been modified.

version: 3.2.1.0 ( not in list :) )

Comments (1)

  1. Log in to comment