Unity Crashes when Playing VisualSearch (on Mac)

October 28, 2012 - 3:07am #1

Hey,

Since we want to deploy our app to iPads we copied the VisualSearch unity package (vuforia-visualsearch-android-ios-2-0-18.unitypackage) to a Macbook Pro Retina 15" and tried to play it. The result was a crash of Unity.

The possibility of debugging with the Macbook's webcam is very appealing and I would like to know if there are any obvious reasons why it shouldn't work.

Notes:

  • We've added a new entry to the WebcamProfiles/profiles.xml file with the correct resolution for the macbook's webcam.
  • Right before Unity crashes (Unity 3.5.6f4) we can see that the webcam activates and manages to scan at least one frame.
  • While debugging the code, if we do not ever focus on the Preview Window and just keep stepping in the code - nothing happens (No crash, no activity)

 EDIT:
I've tried to play the Scene on a Windows7 PC with a Microsoft Lifecam HD-5000 and I've got the same crash.
I've saved the crash report files and I'm willing to transfer them by a medium chosen and approved by you as soon as instructed (in case that might help).

Thanks in advance for any help you might offer,
Nathan Dortman

Unity Crashes when Playing VisualSearch (on Mac)

October 31, 2012 - 7:18am #4

Hi Nathan,

Basically this should work, and I tried your XML file with the new CloudReco sample, and it did work - so it could be that this issue is resolved with the latest release, so if you can try this in due course and get back to me that would be great.

Just a quick word of explanation here.  The VisualSearch sample will now be superseeded by a CloudReco sample, and in order to build your own apps you will be able to use a Visual Search prefab that you can setup very quickly.

Please try with the latest release and get back to me.

thanks,

N

Unity Crashes when Playing VisualSearch (on Mac)

October 29, 2012 - 8:26am #3

Hey Nalin,

Here's my XML for the macbook pro's webcam:

 

<?xml version="1.0"?>
<profiles>
<default>
<windows>
<requestedTextureWidth>640</requestedTextureWidth>
<requestedTextureHeight>480</requestedTextureHeight>
<resampledTextureWidth>640</resampledTextureWidth>
<resampledTextureHeight>480</resampledTextureHeight>
</windows>
<osx>
<requestedTextureWidth>640</requestedTextureWidth>
<requestedTextureHeight>480</requestedTextureHeight>
<resampledTextureWidth>640</resampledTextureWidth>
<resampledTextureHeight>640</resampledTextureHeight>
</osx>
</default>
<webcam deviceName="FaceTime HD Camera (Built-in)">
<windows>
<requestedTextureWidth>1280</requestedTextureWidth>
<requestedTextureHeight>720</requestedTextureHeight>
<resampledTextureWidth>1280</resampledTextureWidth>
<resampledTextureHeight>720</resampledTextureHeight>
</windows>
<osx>
<requestedTextureWidth>1280</requestedTextureWidth>
<requestedTextureHeight>720</requestedTextureHeight>
<resampledTextureWidth>1280</resampledTextureWidth>
<resampledTextureHeight>720</resampledTextureHeight>
</osx>
</webcam>
</profiles>

 

Thanks

Unity Crashes when Playing VisualSearch (on Mac)

October 29, 2012 - 3:55am #2

Hi Nathan

There have been a few issues on Webcam that have just been fixed, so please bear with us and hold on for the update.

Could you please post up your xml entry so I may be able to give it a run-through.

many thanks,

N

Log in or register to post comments