Source Control

Using 4.10.1 to rewrite all my code from a 4.9.2 project (package issues unresolved.) I have successfully set up source control within the editor, checkout, sync and everything else. Problem is, when I shut down the editor and reload it, all the source control information is gone and I need to hook it back up to source control! I don’t know how this would effect things if I leave assets checked out, shut down editor, then reload… Will assets come back as checked out?

I believe this is a bug because everything was fine in 4.9.2. I am using Perforce.

Any help would be appreciated, thanks

Oddly enough, after several editor shutdown’s and restarts it’s magically working.

Nevermind, it’s forgetting my source control again… Any ideas? Thanks

Hey jtsmith-

I’m not sure I understand what you mean by the source control information being gone. Could you elaborate on what you mean? A project does not store the workspace it was connected to so this must be set every time the project is opened. If you are referring to something else can you provide a screenshot of what you mean when you open the project?

Hey , thanks for the reply. Yes, I mean I have to enter the source control information every time I load the project. It’s odd you say it doesn’t keep track of the source control workspace because up until 4.10.1 it did. I have 1 project on git which is 4.10.0 (I haven’t loaded it since I updated to 4.10.1) and another that is perforce on 4.9.2 and both keep its workspace saved.

After speaking with other developers it appears it is possible to have a project automatically connect to source control by setting the ini files properly. I am not familiar with this setup however, if this was working for you in 4.9.2, it may help to compare the ini files from the 4.9 project against the 4.10 ini files.

Cheers

Thanks , I rifled through the tons of .ini files and found the right one and set it. For those of you in the future who may be experiencing the same issue, here is how the file should look like. It is found in the /Saved/Config/Windows/SourceControlSettings.ini folder/file. The structure should be as follows:

[PerforceSourceControl.PerforceSourceControlSettings]
Port=<perforce port information>
UserName=<username>
Workspace=<your workspace>
HostOverride=<can be left blank but should have 'HostOverride='>

[SourceControl.SourceControlSettings]
Provider=Perforce

This, of course, is for perforce. As for the other source control options, I’m not sure what it would look like. Hope this helps anyone in the future.

, maybe you can put a word into the developers and let them know that something happened in the last update or two which has prevented the editor from automatically setting the information into this file? Seems if it did it before, it should continue to do it? Silly to have to either manually hook it up to your workspace at each load or to have to manually set your .ini file, assuming you know the proper structure to do so.

Thanks again!