x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 source control sync issue with perforce

Hi,

So we're trying to get perforce source control running with UE4. We can see checked out files and change history but changes in blueprint are only visible after Editor Restart which is quite counter productive and irritating for developers.

I'd try to explain scenario:

P1 opens project and connects to source control. P2 opens project and connects to source control.

P1 checks out a blueprint and makes some changes. then P1 checks in the blueprint back to source control.

Now P2 wants to make some changes to that blueprint. P2 refreshes the blueprint sees exclaimation mark (showing file need to be synced). P2 Synchronizes the file and refreshes now blueprint has no mark on it showing file not synchronized. But when P2 opens blueprint it is same as before, P2 can't see changes made by other person. P2 has to restart editor to see changes in effect.

Please help us out on this.

Product Version: UE 4.12
Tags:
more ▼

asked Oct 06 '16 at 05:04 AM in Installation & Setup

avatar image

Shivam.Dhoot
106 7 9 21

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

I am not sure if this will help or not but I always stress to my team to use the perforce client to update the local machines before opening the project to make changes. I dont know if that little difference between the way we do it and the way you are doing will work but.... Give it a shot. I've never had trouble with any asset including blueprints following this procedure.

more ▼

answered Oct 06 '16 at 09:09 AM

avatar image

EyeDee10Tee
2.1k 59 14 128

avatar image Shivam.Dhoot Oct 08 '16 at 04:41 AM

I was going through the documentation of perforce and Unreal and they suggested same thing. Thanks for help, we are going with this approach. One more thing can you please help me on how to manage Intermediate and Saved folders with perforce as of now we're not adding them in source control.

avatar image EyeDee10Tee Oct 08 '16 at 11:53 AM

Sure thing. You will need to make an ignore file that tells perforce to ignore those folders. You will also want to add Derived Data Cache, while this does contain engine components it is still a local folder and should not be shared. Look at this link, the example in here is similar to the one we use here at Rapaxsoft. https://www.perforce.com/perforce/r15.2/manuals/cmdref/P4IGNORE.html

avatar image Shivam.Dhoot Oct 10 '16 at 05:38 AM

Thanks a lot for help man!!!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question