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"

Redownloaded project from P4 gives strange errors


Recently I wanted to clean my workspace, there were several large files that I didn't need. So I deleted them and submitted, but it started to upload everything again. I tried to make it go away, reverting wanted to download all of them again so I thought deleting the files from my drive might help. Well that wasn't a smart move, it broke everything and I wasn't able to do anything in P4V after that as it gave errors of missing files. So I wiped the workspace, created a new one, redownloaded the whole project.

First of all, I can't delete the old workspace as it says that there are pending changes. As I couldn't revert or submit those changes (with the missing files) I removed the workspace mapping. So now the pending is empty but it still gives the error.

alt text

Also, there are lots of problems with the new workspace. It doesn't recognize files or mark them as checked out, even though they are fine in P4V.

alt text

Also, I can't submit from the editor. It says no assets to check in, but I can submit from P4V as they are in the default pending list.

I hope somebody could help me with the issue, I have run out of ideas. :(

Thanks, Fisher

Product Version: Not Selected
error1.jpg (260.0 kB)
error2.jpg (361.7 kB)
more ▼

asked May 06 '15 at 03:28 PM in Using UE4

avatar image

108 14 18 25

avatar image Fisher007 May 08 '15 at 11:36 PM

Finally, I managed to fix this. Although I still can't delete the faulty workspace, we created a new user with a new, clean ws and it was working properly for everything except for the second part of my post above. This had to be dealt with separately. It seems to be a bug in UE, as the issue came from an inconsistent path naming in the editor. When the folder was created it probably got a name with a lower case letter (Base_materials) then later, for better readability it got the name Base_Materials. Same name but with upper case M. Doesn't matter for UE, doesn't matter for Windows, but it matters for Perforce! The problem arise because UE doesn't change the pathing, as there were no change from its point of view.

alt text

In my opinion it would be good to have a line in the source control docs about this. We had 82 assets (materials and textures) affected by this, each had to be copied to a new folder, and deleted one by one to replace the references. After figuring it out, it wasn't too bad to solve it but we have a relatively small project. I could imagine the headache this might cause to the developers of a full game, possibly with tens of gigabytes of assets. :)

The solution is easy as well if you prepare in advance, you have to set up your Perforce server to be case insensitive.

Thanks, Fisher

ue4_bug.jpg (83.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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