Log in or register to post comments

Can't find namespace "initialize on load"

October 7, 2021 - 3:03am #1

Vuforia SDK Version: 10.2.5 -

Description with steps to reproduce: Hey, I'm trying to build a WebGL ImageTarget and getting this errors: Assets\Editor\Migration\AddVuforiaEnginePackage.cs(11,2): error CS0246: The type or namespace name 'InitializeOnLoadAttribute' could not be found (are you missing a using directive or an assembly reference?) Assets\Editor\Migration\AddVuforiaEnginePackage.cs(11,2): error CS0246: The type or namespace name 'InitializeOnLoad' could not be found (are you missing a using directive or an assembly reference?) Does anyone know how I can fix that? Thanks :) -

Development OS (Mac OS X, Windows, Linux): Windows -

Mobile OS and Version: Andriod 10 -

Mobile Device Manufacturer and Model name: Samsung Galaxy S20 -

Do the Vuforia Sample Applications show the same behavior?:

Can't find namespace "initialize on load"

October 8, 2021 - 1:47pm #2

Hello,

The error looks like one related to importing Vuforia Engine into a Unity project.

Have you followed the steps documented here?: https://library.vuforia.com/getting-started/vuforia-engine-package-unity

Thanks,

Vuforia Engine Support

Log in or register to post comments