All,
I create and build a project in Unity and run this standalone outside of the Unity environment. This project allows for the user to set the screen resolution, as well as display quality settings. The user sets the screen res display quality. Once the user quits the project, goes back to the desktop, then opens the project again, any previous screen resoluton settings and display quality settings are still present from the last play through. Does Unity store screen resolution and display quality settings in some sort of list or element inside of the packaged product? If so, is there a way to disable this from happening?
It stores that info in the preferences file. I don’t know if you can keep it from saving that data but you can keep it from ever showing the resolution dialog.
So it’s not possible to make Unity not hold these preferences in the file then?
I’ve already bypassed the input/resolution screen on startup. The problem I’m having is running the app, setting my resolution and display quality internally, deleting the app, then rebuilding the app and having my previous resolution and display quality already be picked for me (even though I deleted the previous build).
As indicated above, you can prevent the dialog from showing easily enough. The problem in your case seems to be the fact that you had the screen before and your settings were saved in a preferences file that you haven’t deleted. Note that “deleteing the previous build” doesn’t quite cut it as that doesn’t involve deleting the stored preferences file. The preferences file for an executable is stored here:
Mac HD:Users::Library:Preferences
And it’s given the name of:
unity...plist
Where is the name of the current user on your OSX system, and are as specified in the Player Settings (Edit > Project Settings > Player).
If you create the projector so it never shows the startup screen then this won’t be a problem for future users, it’s just that for you personally you ran it once with the screen which set the prefs file.