Deleting asset does not mark it for delete

This could be considered a bug or feature request.

When you delete a content asset from the content browser with SVN plugin active, it does not mark the item for delete. I have not tested this for Perforce plugin, but perhaps it has the same behavior. The file is considered “missing” and can accidentally be restored if performing an update command on the repository.

Hi Tom,

This sounds like a bug. I will check whether this occurs in our latest build. There have been many issues with the SVN plugin that have since been fixed.

We don’t see this issue at head revision, it is very likely that you are seeing this problem as a result of the SVN binary redistribution not being present, as with this other issue:

https://rocket.unrealengine.com/questions/13090/bug-svn-fails-to-check-in-files.html

I’m seeing this with Perforce as well. You delete an asset in the editor and it marks it for update in Perforce.

I noticed this exact same issue. Ideally when deleting an asset in the editor it would be opened for delete in perforce. Also when moving assets around in between folders, the assets should be marked for delete in the old location and marked for add in the new location.

Would be awesome to get this fixed as going in and cleaning up project files can be quite a pain! :slight_smile:

Oh and this was tested in version 4.1 built from source.

Hello,

Can both of you let us know what version(s) of P4 you are using? When we’ve tested this internally, deleting an asset from the content browser sets the asset as “Marked for Delete” in P4V.

Thanks,

-Steve

I think my server version is pretty old…maybe 2012.x. I can check when I get home. Does UE4 support the very latest version 2014.1?

Edit: Yup I am on 2012.2. Will try to upgrade next week some time and will repost back here. I will be upgrading to 2014.1 so hopefully that version is supported.

Ok I have confirmed that it still doesn’t work for me.

I upgraded to p4server 2014.1 and have connected using the downloaded version of Unreal Engine 4.1 as well as building 4.1 myself from github. Neither of these seem to delete files checked in to source control properly.

As a test I also tried using a stream depot as well as a regular depot. Still no luck.

Could the issue be fixed in the master branch only?

The issue for P4 is fixed in the 4.2.0 pre-release!

Same problem here. Deleted file is still in SVN repo…