Topic locked

Warnings in AddVuforiaEnginePackage.cs

August 19, 2021 - 10:43am #1

Vuforia SDK Version: 9.x through 10.x -
Description with steps to reproduce: Since at least 9.x; the AddVuforiaEnginePackage.cs script generates an "unused variable e" warning around line 107:

static Version TryConvertStringToVersion(string versionString)
Version res;
res = new Version(versionString);
catch (Exception e) // <------------- here
return new Version();

return new Version(res.Major, res.Minor, res.Build);

Please get rid of the 'e'.

This has been around long enough that surely one of your devs has seen the warning by now, but for some reason hasn't gone the extra mile and deleted the worse case 2 characters to get rid of the warning. So, do that.
Development OS (Mac OS X, Windows, Linux): Windows 10 -
Mobile OS and Version: Multiple -
Mobile Device Manufacturer and Model name: Multiple -
Do the Vuforia Sample Applications show the same behavior?: Yes

Warnings in AddVuforiaEnginePackage.cs

August 20, 2021 - 5:40am #2

Hey there,


The warning is a known issue of Vuforia Engine that was fixed in v10.2.x. The warning has no adverse side effects.



Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked