1- We are using Perforce as the source control
2- At the root of the perforce folder we have .p4ignore file with the following line:
*/Plugins/YYY/*
3- P4V uses that line and does not permit to MarkForAdd the following file:
“D:\Perforce\XXX_Name_of_Project_XXX\Plugins\YYY\ZZZ_Plugin_Name_ZZZ\Content\BP_TO_DELETE.uasset”
4- However the Unreal Editor permits us to “Mark For Add” that file !!! This is problematic that the .p4ignore file is ignored by the Unreal Editor
Hi Sebastien !
Sorry about the delay…
Are you sure the .p4ignore line for that file has the correct syntax ?
A suffix “*” only matches the files directly in the directory.
If you want to ignore the whole hierarchy you will have to use “…”
.p4ignore isn’t using the POSIX format, but a specific PERFORCE format. See this page of the documentation for examples
With a correctly setup .p4ignore, it shouldn’t be possible to flag that asset as “MarkForAdd”.
Hope this helps !
Cheers,
Antoine G.