- Home /
Vuforia initializeOnLoad not found
Assets\Editor\Migration\AddVuforiaEnginePackage.cs(8,2): error CS0246: The type or namespace name 'InitializeOnLoad' could not be found (are you missing a using directive or an assembly reference?)
I currently have the same problem, did you find a solution?
Answer by northernthumb · Feb 25, 2020 at 06:30 PM
Sika_MC's answer didn't solve this for me.
I had to #if UNITY_EDITOR the entire class to get it to build for mobile device.
Hi,
Please delete script: AddVuforiaEnginePackage.cs fromAssets\Editor\$$anonymous$$igration\
This is a bug and has been communicated to the Dev $$anonymous$$m. The issue will occur when you are installing Vuforia via the script and afterwards installing the Core Sample apps.
Thank you. Vuforia Engine Support
Answer by Sika_MC · Jan 15, 2020 at 08:54 AM
Hi,
Add using Vuforia in your script.
Thank you.
Vuforia Engine Support
Answer by RScherf · Oct 07, 2021 at 03:37 PM
Hi, I'm struggling with the same issue. None of the Answers worked for me. Am I doing something wrong? How do I #if UNITY_EDITOR the entire class? Thanks!
Your answer
Follow this Question
Related Questions
Vuforia 10.4.4 doesnt appear to be importing 1 Answer
Vuforia Target Image scene not appearing in game 0 Answers
Why does UWP Package size getting so big? 1 Answer
How to get a origin vector of marker in unity? 0 Answers
How the 3D object on target image collide with the 3D game object of UI? 0 Answers