GenerateID is not allowed to be called during serialization

I get the following error in a Perforce enabled project (Pro version) in 5.4.0b10:

GenerateID is not allowed to be called during serialization, call it from Awake or Start instead. Called from script ‘WindowPending’ on game object ‘’.
See “Script Serialization” page in the Unity Manual for further details.
UnityEditor.VersionControl.Provider:GenerateID()
UnityEditorInternal.VersionControl.ListItem:.ctor() (at C:/buildslave/unity/build/Editor/Mono/VersionControl/UI/VCListItem.cs:35)
UnityEditorInternal.VersionControl.ListControl:.ctor()

Is this a known issue?
It seems to appear every time I open our project, or after script recompile.

Still happening in 5.4.0b13

Hi, I’ve forwarded this to the version control team and it should be fixed in a future beta.

This is fixed heading to 5.4 rc1