UE4 with Perforce Helix Cloud issues

Hi all,

I’m starting a C++ UE4 project with some friends this week and seek to use Perforce for collaboration. I chose to use Perforce’s Helix Cloud service, and I’ve been successful in modifying, adding and submitting some arbitrary text-files via the P4V application. So then I started to work my way through the tutorial at Using Perforce As Source Control For Unreal Engine | Unreal Engine 5.4 Documentation | Epic Developer Community.

I skipped setting up a local Perforce server (since it wasn’t needed) and I couldn’t modify the typemap file (not yet available on the Helix cloud, although supposedly coming soon). Then I got to the section regarding the setting up of a local workspace, including an image showing required files and folders (green highlighted). Then at this line, I got a bit lost:

What exactly needs to happen now? I have a project directory ready to go in my Documents folder. So I feel like I have a two options:

  1. Zip the ‘green’ folders/files in the image up, and upload them to the server using the Helix cloud web-interface.
  2. Copy the ‘green’ folders/files into my workspace and go through the process of adding them to the depot like I might other files.

Since the first option seems cleanest, I went with this. I thus ended up with [Config/, Content/, Source/, MyProject.uproject, MyProject.png] on the Perforce server. I then used P4V to copy the depot files to my (previously empty) workspace. I ran the Engine Editor, browsed to, and opened the .uproject file in my workspace.

But it didn’t go to plan: without the binaries folder I was told that UE4Editor-MyProject.dll is missing, and asked if I would like to rebuild it now. I responded yes, the building started, ran for some seconds, and then I was told:

**Clearly I’m going wrong somewhere, but where? **

Also, for what it’s worth, my intention once it works is to connect to the perforce server via Unreal Editor (the final part of the tutorial page linked).

Looking forward to somebody putting me right!

EDIT: using 4.10.1

I figured out that I could generate the visual studio files via the uproject file. Once in, I tried to Build the project’s C++ code, where I get the warnings **and ** errors that read:

I sort of understand why this usually happens and what a per-file fix would be, but I’m unclear as to why the format has been changed along the route from my original project, to perforce depot, and then into my perforce workspace.

Any suggestions?

I came across sources of information that lead to me to conclude that Perforce Helix Cloud was not suitable for integrating directly into UE4 editor:

  • Perforce Helix Cloud requires streams.
  • The Perforce integration with UE4 does not have stream support.

It would probably be possible to use Perforce Helix Cloud with a UE4 project by using a P4V is an intermediary, but I want true integration with UE4 and so have instead looked to Assembla for hosting.

Thanks Mattslug! I’ve been farting around with it and I can’t seem to get it to work in ue4… back to assembla.

teak

Just add a stream when you create your new workspace, “main”, and then make sure the host is blank in “advanced”, works just fine. Even now.