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"

Perforce Integration Renaming / Moving Workflow Bugs?

Renaming / Moving in UE4 with perforce integration may be working as expected right now (According to a few other answers I have read), but I have to ask if there will ever be a way to keep asset history in perforce when performing a rename or a move. Right now when you rename or move a .uasset it creates a re-director with the same name as the old and adds a new file in perforce with the new name at the new location. The issue with this is that it destroys history in perforce... without knowing where the file used to be located, you end up getting the new file without any of its revision history in it. Is this planned to be added in the future or is this kinda like a "deal with it sorry" type situation. I feel it negates a lot of what perforce is there for and feels like it is a bit of a jenky setup.

Would a possible solution be to have the redirector embedded in the actual uAsset itself kinda like how it used to do in UE3 packages so that way in p4 you can literally call a rename or a move?

Thanks -Zuko

Product Version: Not Selected
Tags:
more ▼

asked Jul 14 '14 at 07:51 PM in Bug Reports

avatar image

chriszuko
76 2 17 14

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

2 answers: sort voted first

Right now when you rename or move a .uasset it creates a re-director with the same name as the old and adds a new file in perforce with the new name at the new location. The issue with this is that it destroys history in perforce... without knowing where the file used to be located, you end up getting the new file without any of its revision history in it.

The current (4.10) behavior is improved: it does a p4 integrate and p4 resolve on the file when copying/moving it to maintain the history (you can even see these commands in the Output Log). However, UnrealEd still doesn't use p4 move -- it always creates an object redirector. This means that you won't see this history in the simple History pane in perforce, but within the History pane there is an "Integrations" tab that will show this history. (I think this limitation is caused by the resolve method -- I know it's possible for integrations to show up in the History panel but they don't in this case.)

The best way to follow the history of an asset is with the p4v Revision Graph (Ctrl+Shift+R).

more ▼

answered Dec 08 '15 at 01:39 AM

avatar image

idbrii
537 5 15 44

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

Hi,

We are working on this - we wanted to ship this feature (retaining history with copy/move) in 4.3, but it was reverted close to release because of a few issues we discovered. Pretty certain we should have it for 4.4 and the code is already in the master branch for subscribers to check out if they want here.

more ▼

answered Jul 15 '14 at 08:42 AM

avatar image

Tom Sarkanen STAFF
1.7k 39 12 53

avatar image Colbinator Mar 26 '15 at 01:06 AM

Are there any updates on this? Is this feature still only available in the source code? I didn't see any release notes concerning this and I still have the same issue as chriszuko and I'm using 4.6.1. My team deals with it, but it's less than ideal. Of course this works if done inside of Perforce, but then you break all references inside of Unreal, and we've ultimately decided that is far worse.

avatar image Richard Talbot-Watkins STAFF Mar 26 '15 at 06:13 PM

This is already a noted issue in our database (UE-5259) - I'll bump it and try to get it addressed soon. I think it already works only in the case that a redirector is not left behind in place of the old file (which is seldom the case).

I'll update here when we have progress.

avatar image marsonmao Sep 16 '15 at 09:37 AM

waiting for update +1

avatar image roberteker Dec 18 '18 at 04:04 PM

I'm on 4.21 and have issues with this. Are you still working on it?

avatar image JTLaw Mar 08 '19 at 07:35 PM

same here.

(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