Perforce Question Marks on Everything

I have a project and it is succesfully connected to a workplace / perforce / source control, however it thinks every single file has changed (I havn’t changed anything). In other words, there is a question mark on every single asset. Whats wrong with my source control setup or what steps can I take to troubleshoot?

I have this exact same issue that you asked a year and a half ago. Thankfully, absolutely no one has answered.

Terrific work, everyone.

Though its late answering your question, I thought It might help others.
Question mark basically means, you have created that asset (may be by mistake ,too)
If you right click and Mark for Add, you will be able to checkin after that.
Or, if don’t want that asset you can delete it directly
This works fine if one has few assets that have question mark. Can’t understand why all your assets have question mark
Hope it helps

-Veera

1 Like

This happened to me for a while and turned out to be coming from the way I was launching the .uproject. I had a .cmd file that was automatically detecting the project location using these kinda shenanigans:

@REM Required - Put the name of your .uproject here.
set ProjectName=Hooligan.uproject

@REM This script is assumed to be contained in a child directory of the project's root directory. Find the project root dir.
set ROOTDIR=%~dp0..\
set UProject=%ROOTDIR%%ProjectName%

Simplifying the launch path like so fixed it:

@REM Required - Put the path to your .uproject here.
set UProject="M:\Perforce_AMGI\kevin.mack\HOOL\Projects\Hooligan\Hooligan.uproject"

Took me a minute to spot this since most of the time I’m launching from Visual Studio so wasn’t immediately apparent that when I used the launch script it failed to connect properly.

So if this is happening to you, see if there’s something strange in the project’s launch path. This path seems to matter for the p4 connection to the editor.

Edit: It’s also fine to build the path this way and just put the script in the same directory as the .uproject:


@REM Required - Put the name of your .uproject here.
set ProjectName=Hooligan.uproject

@REM This script is assumed to be contained in the same directory as the project file. Find this directory.
set ROOTDIR=%~dp0
set UProject=%ROOTDIR%%ProjectName%

UnrealEd’s P4 integration didn’t have a problem with this path construction - it just didn’t like the unresolved …/ in the other generated path.