Log in or register to post comments

Unity Editor crash loop

January 1, 2013 - 7:56am #1

If you manually add the Vuforia scripts to a camera, the Unity Editor will crash in a loop (recompiling script messages thrown) when you enter Play mode.

Steps to reproduce:

-Start with a clean project.

-Import vuforia-unity-android-ios-2-0-30.unitypackage

-Add these scripts to the default camera:
QCARBehaviour.cs
WebCamBehaviour.cs

-Hit Play

-"Restarted Play mode because scripts have been recompiled" error message is repeatedly thrown. 

Unity Editor crash loop

May 7, 2013 - 1:53am #9

Hi , 

I am editing the ARcamera prefab but the other scripts that i am attaching does not work (( 

With the regular camera they work, but not with ARcamera. 

Any suggestion on what it might be ?

 

Make sure have a

January 16, 2013 - 1:24pm #8

Make sure have a BackgroundCamera prefab attached to the Webcam behs. This fixed for me.

Yep. Too bad, there are some

January 7, 2013 - 12:31pm #7

Yep. Too bad, there are some apps I would love to use Vuforia for with webcams. Kinect too. And I'm using Indie so it nags me anyway.

Keep in mind that you cannot

January 7, 2013 - 11:19am #6

Keep in mind that you cannot deploy apps using the webcam. This functionality is restricted to the Unity Editor environment.

Yes. Use the ARcamera prefab

January 5, 2013 - 12:07am #5

Yes. Use the ARcamera prefab and modify that.

Just ran into this same

January 4, 2013 - 7:59pm #4

Just ran into this same problem. So is the work-around to use the ARCamera prefab then modify it as needed?

Yes,  the default Main

January 1, 2013 - 6:12pm #3

Yes,  the default Main Camera.

If only the ARCamera supports those scripts, I would advice against such logic. This is counter intuitive according to the "Unity way of doing things". Or at least make it very clear in the documentation that you shouldn't add those scripts to your own camera. 

I spend an hour trying to figure out why my project was blowing up.

Do you mean the default Main

January 1, 2013 - 8:05am #2

Do you mean the default Main Camera? - only the ARCamera supports the QCARBehaviour and  WebCamBehaviour.

Log in or register to post comments