Perforce won't show newly added assets

Hello,

I have a problem with perforce. If another user adds a new asset (marks it for add, and then submits it in the depot), it will not show up in unreal on my workspace (it doesn’t automatically download from the depot to my workspace).
So I have to manually open p4v client, and press get latest revision to download the asset from the depot to my workspace.
Is there any other way to tell perforce to automatically get the latest revision when a new asset (or any other file) is created from another collaborator in my team?

thanks

what you’re describing isn’t how P4 works. it always requires a sync before new files are added to your local machine, which would then show up in the editor.

Yep! There are a lot of things that could go wrong if P4 just started automatically downloading new versions that are checked in or added for the first time. That said, you could write a batch file to sync P4 every day at a certain hour to ensure you have latest…but that really is only helpful if you’ve got a giant project that takes ages to sync.

So if I’m understanding correctly, everytime someone other than myself adds a new asset I have to open the p4v client and press “get latest revision”.

Thank you for clearing that up for me.
Could you tell me how can I write a batch file that can sync p4 at a certain time?

Thank you for the time to answer my questions :slight_smile:

here’s some documentation:

https://www.perforce.com/perforce/r15.2/manuals/cmdref/p4_sync.html

Too late to the party but there seems to be a way to do it without Perforce client - Tools → Sync Content (confusingly hidden from usual Revision Control options).

It does sync all folders but in Unreal Engine 5.5 it crashes with the error below.

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000001b8

UnrealEditor_CoreUObject
UnrealEditor_LandscapeEditor
UnrealEditor_LandscapeEditor
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_CoreUObject
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_AssetTools
UnrealEditor_AssetTools
UnrealEditor_SourceControlWindows
UnrealEditor_SourceControlWindows
UnrealEditor_MainFrame
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll