Azure / azure-object-anchors

Azure Object Anchors releases and samples
https://docs.microsoft.com/azure/object-anchors
MIT License
37 stars 17 forks source link

Unity MRTK AoaSampleApp does not detect .ou files #6

Closed scottbateman closed 3 years ago

scottbateman commented 3 years ago

Description

We updated to the latest "Samples update for July 2021" (2021.7.1-preview) and the previously working (for us) MTRK AoaSampleApp no longer picksup our model .ou files. It previously seemed to be working, but we cannot get it to pickup our previous files.

We can no longer detect previously detected objects and the onscreen status message states "Models: 0"

We have correctly (we think) put the models into: "User Folders \ LocalAppData \ AOAMRTKApp_1.1.0.0_arm64__ph1m9x8skttmg \ LocalState \"

craigktreasure commented 3 years ago

Sorry to hear you're having issues. Let me try to reproduce the issue and I'll get back to you.

craigktreasure commented 3 years ago

@scottbateman I just ran the sample myself and was able to load a model and detect an object. I used Unity 2019.4.28f1 on HoloLens 21H1 (20348.1010). Can you tell me more about your particular setup?

Also, it might be helpful to examine the UnityPlayer.log log file found in User Folders\LocalAppData\AOAMRTKApp_1.1.0.0_arm64__ph1m9x8skttmg\TempState. More info on the log files here.

scottbateman commented 3 years ago

@craigktreasure Thanks.

craigktreasure commented 3 years ago

Hmmmmm... The "FormatException: Unrecognized Guid format" from your log file is a big red flag. It's likely throwing and then the models are never getting a chance to be loaded.

FormatException: Unrecognized Guid format.
  at System.Guid+GuidResult.SetFailure (System.Guid+ParseFailureKind failure, System.String failureMessageID, System.Object failureMessageFormatArgument, System.String failureArgumentName, System.Exception innerException) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Guid+GuidResult.SetFailure (System.Guid+ParseFailureKind failure, System.String failureMessageID) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Guid.TryParseGuid (System.String g, System.Guid+GuidStyles flags, System.Guid+GuidResult& result) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Guid.Parse (System.String input) [0x00000] in <00000000000000000000000000000000>:0 
  at Microsoft.Azure.ObjectAnchors.Unity.ObjectAnchorsConfig.get_AccountInformation () [0x00000] in <00000000000000000000000000000000>:0 
  at Microsoft.Azure.ObjectAnchors.Unity.ObjectAnchorsService+<InitializeAsync>d__30.MoveNext () [0x00000] in <00000000000000000000000000000000>:0 

Can you verify that you're configuring the account information correctly (see here?

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

scottbateman commented 3 years ago

Thanks, we will have a look at this and let you know the result.

no-response[bot] commented 3 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.