Editor P4CONFIG

It appears that the Revision Control setting for Perforce to Use P4 Config doesn’t actually read the config file.

I have my environment variable P4CONFIG=.p4config. When I open Revision Control in the editor and check this box it uses defaults like my computer username, computer name as the workspace and perforce:1666 as the server even though my .p4config has these values set in the root project directory.

Opening a command prompt and CD’ing into the project root directory then running p4 set will show the config file loaded properly.

Has anyone been able to use a p4config file with UE5.3?

4 Likes

just so you know. you’re not alone.

same problem with 5.2 / 5.3

1 Like

I have the same problem. However, if you have one single project, you might be fine with setting the variables you define in the config manually, making them work globally.

p4 set p4client=myworkspace
p4 set p4user=mynickname
p4 set p4port=ip:port

Setting the variables in the registry works. The part we can’t get to work is to have the “Use P4CONFIG” checked on as default in the project settings, so that when other users pull the .uproject down from the depot, this is already set. If anyone knows how to do that, I’d love to know.