Perforce won't let me add files to depot because "file(s) not in client view." for my unreal engine project

So here’s my situation. I have a desktop perforce server that I already have a project on for a group game project for one of my classes. The server keeps all of those files in a depot called “depot” because I was new to perforce and I just named it that. After a bit the project grew and I have a full game project stored in there. Since I’m not working on that game project anymore, I’ve started a new project and I wanted to use my already setup perforce desktop server. I’m using Perforce Helix P4V to access the server, its the GUI if that matters.

So I followed this guide:

I found it really helpful until I got to the part where you add your workspace files. I created a new depot called ProjectMomentos and created a new workspace with a new folder and copy and pasted the unreal engine project into that workspace folder. The files show up in perforce but their only showing up because I filtered it to “show files not in depot”. Theirs something I’m doing wrong but I can’t figure it out. Whenever I try to add those workspace files, a bunch of warning messages pop up and say this unreal engine asset “file(s) not in client view.” I’ve been trying to fix this for hours but nothing seems to work. It will say “no files opened” “311 warnings reported” before showing all the warnings. If anyone can help, I would seriously appreciate it.

I know this is old but I encountered this issue when trying to set up a second depot and workspace for a new project and thought I’d leave my solution here for anyone googling

The problem for me was that my workspace name didn’t match my workspace path. You can check whether they match or not by going to Workspaces tab > Right clicking your workspace > “Edit workspace”. Then right click on the depot you are trying to use and click “Include special”. This will open a new window that shows you the workspace path. If the two entries don’t match you won’t be able to submit files.

All I had to do was manually remove “/Voxel” from the workspace path:

After that I was able to add files without “files not in client view” error.

1 Like