So many asset store items, so many compiler warnings

I’m at the point now where i have over 150 compiler warnings all from Asset store items.
I’ve started modding the asset store scripts to disable the warnings (#pragma warning disable xxxx), I shouldn’t have to do this, but I don’t have any other option that I know of. Because I can’t filter out asset store related items warnings VS my own code warnings.

Does Unity asset store verification process check for this when allowing assets to be sold?
(I can understand that “obsolete” warnings would occur, But alot of the “obsolete” warnings are from fairly newly released assets, which the obsoletion occurred long before the assets were published on the store)

I don’t want to name any assets here, but to get an idea: this is what the console looks like after compiling assets store scripts:

warning CS0108: gui.name' hides inherited member UnityEngine.Object.name’. Use the new keyword if hiding was intended

BCW0014: WARNING: Private field ‘TEST.isCasted’ is never used.

BCW0028: WARNING: Implicit downcast from ‘UnityEngine.Texture’ to ‘UnityEngine.Texture2D’.

WARNING: ‘UnityEditor.EditorWindow.title’ is obsolete. Use titleContent instead (it supports setting a title icon as well).

BCW0012: WARNING: ‘UnityEngine.Quaternion.EulerAngles(float, float, float)’ is obsolete.

warning CS0219: The variable `dt’ is assigned but its value is never used

warning CS0472: The result of comparing value type UnityEngine.Quaternion' with null is false’

warning CS0162: Unreachable code detected

warning CS1717: Assignment made to same variable; did you mean to assign something else?

: warning CS0618: UnityEngine.GL.SetRevertBackfacing(bool)' is obsolete: Use invertCulling property’
The given expression is never of the provided (`test.I’) type

warning CS0168: The variable `u’ is declared but never used

warning CS0649: Field .targetGUIPosition' is never assigned to, and will always have its default value null’

WARNING: Implicit downcast from ‘UnityEngine.Object’ to ‘UnityEngine.Material’.

BCW0012: WARNING: ‘UnityEditor.EditorWindow.title’ is obsolete. Use titleContent instead (it supports setting a title icon as well).

1 Like

I’d really like to be able to disable compiler warnings for certain directories.