Hide build warnings from a certain folder

I am using the GoogleARCore module in my game, which as it seems uses some obsolete methods and thus creates warnings during the build. Now these are obviously warnings that I would like to fix, so I need to suppress them. They are however located in multiple files, and I did not found any way to suppress warnings from them all.

You need to create csc.rsp file and place it in your assets folder.

You can edit this file with a regular text editor.

Add “-nowarn:x” where x is your warning number.

This will supress all the obsolete warnings in your whole project, maybe you can place it in your GoogleARCore folder to apply it only to this folder, but I don’t know if it will work, you have to experiment further.

More info on this file is at the bottom of this page.