Jump to content


GetLatest fail [P4Connect 2017.1.1.147.9077 & Unity 5.5f1 64bits]


  • Please log in to reply
No replies to this topic

#1 SebC

SebC

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 10 February 2017 - 09:02 AM

Hi,

I just settuped a brand new project on P4, and tried to connect Unity and P4, with P4connect bug i've got this error message.

FYI, i followed the tutorial, and everything was fine (connection to server, password, etc).

I couldn't do the getlatest to the project, but at one time I didn't know why, but few second after i called the getlatest cmd on the asset dir, it synchronized my data.

So my asset are up-to-date; but it getlatest doesn't work anymore.

Here is the error message i get in unity 5.5

NullReferenceException: Object reference not set to an instance of an object
Perforce.P4.FileMetaData.FromFstatCmdTaggedData (Perforce.P4.TaggedObject obj) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Bridge/p4api.net/FileMetaData.cs:462)
Perforce.P4.Repository.GetFileMetaData (Perforce.P4.Options options, Perforce.P4.FileSpec[] filespecs) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Bridge/p4api.net/Repository.cs:655)
Perforce.P4.Repository.GetFileMetaData (IList`1 filespecs, Perforce.P4.Options options) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Bridge/p4api.net/Repository.cs:888)
P4Connect.Engine.GetFileMetaData (P4Connect.PerforceConnection aConnection, IList`1 aSpecs, Perforce.P4.Options aOptions) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Engine.cs:2267)
P4Connect.AssetStatusCache.GetAssetMetaData (P4Connect.PerforceConnection aConnection, IEnumerable`1 aFiles) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.AssetStatusCache.cs:855)
P4Connect.Extensions+<>c__DisplayClass9c.<InitializeAssetStatuses>b__9a (P4Connect.PerforceConnection con) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Utils.cs:1670)
P4Connect.Engine.PerformConnectionOperation (System.Action`1 aConnectionOperation, Boolean async, Boolean quiet) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Engine.cs:808)
UnityEngine.Debug:LogException(Exception)
P4Connect.Engine:LogP4Exception(Exception) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Engine.cs:2000)
P4Connect.Engine:PerformConnectionOperation(Action`1, Boolean, Boolean) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Engine.cs:815)
P4Connect.Extensions:InitializeAssetStatuses(IEnumerable`1) (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Utils.cs:1668)
P4Connect.Menus:ProjectViewGetLatest() (at c:/tmp/73282536/depot/main/p4-connect/src/P4Connect/P4Connect/P4Connect.Menus.cs:253)

Also note that i can't do checkout on script files, neither getinglatest version.

Could you tell me what's wrong in my settup please ?

Thank's a lot !

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users