Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to change root folder of settings. #76

Open
vailshnast opened this issue Aug 2, 2021 · 3 comments
Open

Ability to change root folder of settings. #76

vailshnast opened this issue Aug 2, 2021 · 3 comments
Labels
Milestone

Comments

@vailshnast
Copy link

Would be amazing to add ability to change root folder. Package does have constants with folder paths, but you cant change them, thanks! Something like to Plugins/SuperUnityBuild etc.

@robinnorth
Copy link
Collaborator

@vailshnast you should be able to move the settings file that's created by default at Assets/SuperUnityBuild to wherever you like in your folder structure, including to a path like Assets/Plugins/SuperUnityBuild. You can also create a new settings file (Assets > Create > SuperUnityBuild Settings) and use the settings file picker UI to select which one SuperUnityBuild uses:

image

@tycobbb
Copy link

tycobbb commented Aug 4, 2022

@robinnorth i think this is still an issue. we've moved the SuperUnityBuild folder to Assets/Plugins and pointed the plugin to the settings in Assets/Plugins/SuperUnityBuild/Settings, but every time we build it re-creates the default folder and settings asset and re-sets the path to the freshly created asset.

@robinnorth
Copy link
Collaborator

Hey @tycobbb, thanks for this. I do need to take a look into it some more, as whilst SuperUnityBuild (should) currently support pointing the settings instance at an asset at a different path, this is currently kept track of using EditorPrefs which is machine-specific and won't be tracked in source control. If you just move the settings asset rather than create a new one (Create > SuperUnityBuild Settings), it might be that this path change isn't be saved resulting in the behaviour you describe.

SuperUnityBuild will also still always create its default folder structure under Assets, regardless of the path to the settings file it is using, which I get might be a bit confusing and annoying, so will also look to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants