- Home /
Errors in Unity After Updating to Unity 4.5.2 and Vuforia 3.0.9
I'm stuck. Ever since I upgraded to Unity 4.5.2 and Vuforia 3.0.9, I've been getting compiler errors. I followed the migration steps and I tried a bunch of other things without success. Here are the errors I've been getting:
Assets/QCAR/SampleImport/SampleImport.cs(8,7): error CS0246: The type or namespace name UnityEditor' could not be found. Are you missing a using directive or an assembly reference? Assets/QCAR/SampleImport/SampleImport.cs(23,17): error CS0103: The name
QCARUnityImpl' does not exist in the current context
Assets/QCAR/VideoPlaybackScripts/VideoPlaybackEditor.cs(18,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?
I haven't altered either of these scripts. Both are original code.
Anyone know how to fix this?
Hi, did you update both at the same time? what Unity version and Vuforia were you at before that?
Thank you for your reply Will.
Yes, I did update both at the same time (mistake?). Prior to updating I was running Unity 4.3.1 (I believe, definitely 4.3.x) and vuforia 2.8.9.
Answer by dleight · Aug 09, 2014 at 08:59 AM
Fixed by moving scripts in to the editor folder. Thanks to Wyatt and Will. Now getting Mach-O linker errors, but the main question has been answered.
Your answer
![](https://koobas.hobune.stream/wayback/20220613160034im_/https://answers.unity.com/themes/thub/images/avi.jpg)