- Home /
Why does AssetDatabase.SaveAssets() overwrite QualitySettings?
I'm creating an asset from a ScriptableObject within my script in the Unity Editor when the game is playing. Right after in the script I call AssetDatabase.SaveAssets() to save the new asset to a file. The problem is, the QualitySettings.asset will also get written out and will usually change (all platforms get a quality setting of zero). This is quite annoying as the QualitySettings file has to be constantly reverted/repaired. I don't think our scripts are changing any of the quality settings during play.
Have you found a solution to this? I have a similar problem.
This sounds like a bug. You should report it to the folks at unity.. These two features should be very much seperated and shouldn't be messing with eachother. Find a way to reliably replicate the problem and report it. That's my reccommendation
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Making a bubble level (not a game but work tool) 1 Answer
An OS design issue: File types associated with their appropriate programs 1 Answer
Wait until scripts compile 1 Answer