"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unity 4.2 Crashing After Ever Code Change

Vuforia SDK Version: 2-6-7 - Description with steps to reproduce:

Hello.  I updated Vuforia earlier today to work with Cylinder targets and have been having some major problems ever since.

The problem occurs after I've changed code in MonoDevelop.  What normally happens is I'll make my code changes, switch back to Unity, then all the scripts will compile automatically and I can press the Play button and run.  However, since this update, that is turning into a major issue.  Now, when I switch back over to Unity after changing code one of two things happens either A) Unity immediately crashes and brings up a bug report or B) Unity will get stuck in compilation.  This is represented, since I'm OSX, as the spinning beach ball.  Either way, I cannot get ANY code changes to reflect without having to restart Unity.

Now this is a major holdup because I can't go through the process of force quitting and restarting Unity every time I want to make a change.  I'm not certain if the actual crash/hang up is during script compilation or asset importing, but as of right now I can't make any changes without a force quit and reboot.  Please help, we need this cylinder stuff in the new SDK right away.

Thank you-

Mike

- Development OS (Mac OS X, Windows, Linux): OSX - Mobile OS and Version: not relevant - Mobile Device Manufacturer and Model name: not relevant - Do the Vuforia Sample Applications show the same behavior?: I haven't changed any of the samples.

islavik777

Sun, 08/18/2013 - 07:57

I find some solve this problem which help me. When you save script in MonoDevelop, make sure that no objects are selected in Unity3d and after save refresh you script in Inspector by press 'Reset' menu. I think it problem with sync Inspector  and MonoDevelop.

I am experiencing the exact same issues using Unity 4.2.0f4 with Vuforia 2.6.7

Importing Vuforia into a blank project causes compile time to increase from instantaneous to ~5-10 seconds, even with very slight script changes.

MikePileated

Wed, 08/21/2013 - 21:44

Unfortunately I have to agree with MerlinMo here.  Even if I have no GameObject selected in my heiratchy I still get Unity to crash.  It DID compile a couple of times but went back to crashing every time soon after.

MikePileated

Wed, 08/21/2013 - 22:22

OK just a quick update for a workaround that so far has worked.  

1) Go to Unity->Preferences->General and turn off Auto Refresh

2) Update code in MonoDevelop normally.