Search Issue Tracker

Fixed in 2017.3.0f3

Fixed in 2018.1.X



Found in



Issue ID




[AntiAliasing] "Invalid antiAliasing value (must be at least 1)" error on antiAliasing disabled

Graphics - General


Console spams error "Invalid antiAliasing value (must be at least 1)" when we set antialiasing to "disabled" in quality settings and then select camera in the hierarchy.

Steps to Reproduce:
1. Create a new project.
2. Go to Project Settings >> Quality Settings >> Anti Aliasing >> Disabled
3. Select MainCamera in Hierarchy.

NOTE: "Invalid antiAliasing value (must be at least 1)" error spams in the console.

Expected Result:
An error should not appear in the console.

Actual Result :
An error is thrown at selecting a camera.


- Appears on both Windows and OSX
- On some Window and OSX machines, it doesn't appear. (Appeared on 3 out of 4 Windows and 2 out of 3 Mac machines with the same configuration.)

Reproduced on Unity 2018.1.0a2, 2018.1.0a3

Regression on Unity 2018.1.0a2

Not reproduced on Unity 5.6.4f1,2017.1.1f1, 2017.2.0f3 , 2017.3.0b8 , 2018.1.0a1

License type: Pro

Comments (14)

  1. 371c592c88412a7bdccaa884b6b262bd?d=mm


    May 04, 2022 13:51

    This issue also occurs in Unity 2021.3 LTS version. Deleting the contents of the "script assemblies" folder did not resolve the issue for me.

  2. B8c57eecb003557de423affecfe2edbb?d=mm


    Apr 23, 2022 20:05

    Issue not fixed in 2021.3.0f1

  3. C07988522730e516e1b32d2b102dbaa0?d=mm


    Feb 04, 2022 21:35

    Got this error upgrading to 2021.2.

    I cleared it by removing the 'Script Assemblies' folder in 'your project name'/Library/ and getting unity to reload it.

  4. B77816be4243f2fe38226169183d5847?d=mm


    Jan 19, 2022 08:43

    This still present in 2021.2.8

  5. 3fe5e28e286238ae22b8f467975f4636?d=mm


    Jan 12, 2022 06:32

    Same problem on 2021.2.5f1.

  6. 6562cf4ffeb8de93ac26d6402fd127e8?d=mm


    Dec 02, 2021 20:02

    also found in 2021.2.4 URP 12x

  7. 6562cf4ffeb8de93ac26d6402fd127e8?d=mm


    Nov 24, 2021 14:37

    also found in 2021.2.3 URP

  8. 71ef4f823803715964fee983937b2b7e?d=mm


    Nov 18, 2021 18:32

    The same problem after updating to 2021.2.2 in a project with URP, but after playing with the settings it stopped showing up.
    Try this:
    Project Settings> Quality> Render Pipeline Resource [click to view the asset in the "project" tab and select it from there], after selecting the asset, go to the Inspector> Quality> Anti-Aliasing (MSAA)> and change it to Disable tab. Now play the game (press the play button) and turn it off after initialising (after few secounds). Then you can change the Anti-aliasing (MSAA) back to your choosing (I'm using 4x) and the error is gone - at least it worked for me ...

  9. B7d2644ee9c9d30960c52edcd798de9b?d=mm


    Nov 14, 2021 08:40

    Still there in 2021.2.2. Wasn't there in 2021.1.16 before update.

  10. 80c9bb7fa9ebd7cba3556869cb80a521?d=mm


    Nov 03, 2021 00:06

    2021.2.0f1 has this popping up also.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.