[4.9 - BUG REPORT] Perforce Sync Issue

Hey Guys. 4.9 has some sync issues with perforce. Every time I want to check out my changes from the source, the sync doesn’t work.

Workaround : I’ve to restart the editor every time in order to sync all the changes.

Thanks.

Hello Amaresh,

What type of error are you receiving when the sync fails? Are you trying to check in changes through the editor’s interface or through perforce itself? I’ll need more information to identify the issue itself.

Hey @ I don’t receive any errors in particular. When I sync, it shows the sync is done. But the changes are not shown until you restart the editor.

As soon as you restart the editor all the new changes are shown as expected.
I’m checking in changes through the editor interface.

Hope I’ve provided sufficient info.

Cheers.

I tried reproducing this using perforce with the 4.9 Binary version of the engine. For me, it worked perfectly so I wasn’t able to reproduce the issue. To explain what I did exactly:

  • Made a new project, saved it, and added it to the Perforce repository
  • Set up Source Control through the in-editor Source Control menu
  • Had another person sync to the project and also set up Source Control through the in-editor Source Control menu
  • The other person created 2 Actor Blueprints and marked them for add, then submitted them through the in-editor interface
  • While still having the editor open (I haven’t closed it since setting up the Source Control settings), I synced to the project.

After a few seconds, both of the blueprints appeared in my Content Browser. Does this differ at all from the workflow you were using when this issue occurred?

Hi There,

I’ve also come across the syncing issue myself. It tends to only happen with files that are already in the project.

For example I’ll check out playercontroller.bp make a small edit and check it back in. Someone else will attempt to sync the project, no error will show and it will seemingly complete the sync but they don’t acquire my changes. Only once the editor has been restarted will the changes appear for user 2 within the player controller BP.

Hopefully this helps.

Hello Amaresh and AurochHeather,

Thank you for the clarification, it seems to only happen if you sync to the asset through the editor’s interface instead of perforce itself. I’ve placed a bug report into the database about this issue under the number UE-20789. In the meantime, I don’t have any sort of workaround past suggesting that you use the perforce’s interface to sync to your assets.

Have a nice day!

It’s reproducible for me even if I’m syncing through perforce interface. Editor just doesn’t refresh assets after that.

This appears to still be an issue, for SVN as well even on the newer versions… this is a fairly critcal bug so im wondering why im still running into it.