- Home /
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.
Answer by Casiell · Feb 17, 2019 at 04:51 PM
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220612191856im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Why is cloud build not ignoring hidden assets? 0 Answers
Temp/__BuildPlayer Backupscene 2 Answers
Warnings when I build my Android apk 2 Answers
Hide warning logs in Android build 0 Answers