Search Issue Tracker
Fixed in 2017.3.0f3
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0a2
2018.1.0a3
Issue ID
967248
Regression
Yes
[AntiAliasing] "Invalid antiAliasing value (must be at least 1)" error on antiAliasing disabled
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.
Frequency:
Always
Notes:
- 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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Button highlight state disabled when hovering cursor over smaller sized child UI objects
- "Unity has stopped working" window is skipped when the Editor crashes
- The "Properties..." shortcut does not open the Focused Inspector window when the new GameObject is created
- Editor crashes when using WebCamTexture
- [URP] ShaderKeywords '_MAIN_LIGHT_SHADOWS' and '_ADDITIONAL_LIGHT_SHADOWS' are always enabled in the Editor
edub101
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.
ElliotB
Apr 23, 2022 20:05
Issue not fixed in 2021.3.0f1
MichaelEGA
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.
SanketVaria
Jan 19, 2022 08:43
This still present in 2021.2.8
kleon
Jan 12, 2022 06:32
Same problem on 2021.2.5f1.
DEEnvironment
Dec 02, 2021 20:02
also found in 2021.2.4 URP 12x
DEEnvironment
Nov 24, 2021 14:37
also found in 2021.2.3 URP
miron83
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 ...
Jamesshamy
Nov 14, 2021 08:40
Still there in 2021.2.2. Wasn't there in 2021.1.16 before update.
Cronoo
Nov 03, 2021 00:06
2021.2.0f1 has this popping up also.