Perforce Version Control

I have been using Perforce for version control for a couple of years now without difficulty. However, recently I have run into a problem where my project’s game objects will lose their components when getting the latest build on a different workspace. Items affected are textures, scripts, and audio files assigned in the inspector. The files are present in the project, but will need to be reassigned along with any inspector variables. Prefabs in the hierarchy will appear red and will need to be replaced.

I am using Unity 4.5.4
The Version Control is set to Perforce and the Asset Serialization is set to text. I have tried Mixed and Binary also.
An error that appears at times but not every time indicates a problem with the meta files.
For example: Assets/Scenes/Connection.unity.meta - file(s) not on client.

I am in contact with Perforce and they don’t understand how Unity interacts with Perforce.
Please advise.

Eyup,

Set the Version Control Mode to Visible Meta Files instead of Perforce (bear with me…) and Asset Serialisation to Force Text, that should do it.

The other things to remember are to not check in the Library or Temp folders as these should only exist locally. Then, anything you do (move/delete/check in/out) to a file, you also do to the metafile.

I had issues a few months back with P4EXP (installed by default with P4) and Unity, so had to manually prune that from my system - if you do the above and things are still wonky, maybe give that a shot.

Good luck!