Hello,
is anything known on how the current Vuforia 2.8 works with Unity3d 4.5? May be even from the Unity Beta program?
And what about the upcoming vuforia 3? Relase and compatibility information available,
Hello,
is anything known on how the current Vuforia 2.8 works with Unity3d 4.5? May be even from the Unity Beta program?
And what about the upcoming vuforia 3? Relase and compatibility information available,
NalinS, thanks a lot, THAT was the desired information. I was not aware of the fact, that my Vuforia installation within the project was outdated.
I just tried it and it works, no Linker Errors any more.
So sorry guys, but some of you might stumble about this issue as well and i hope this post helps you.
Hi Developers,
Just to be clear the last release of Vuforia Unity is already compatible with Unity4.5 because we updated the PostProcessBuildPlayer in the release in April i.e. in the Unity samples 2-8-13 and in the core extension 2-8-9.
The reason you may be encountering a problem is because you are using on older SDK and have not upgraded.
The latest PostProcessBuildPlayer has a date of 18 April 2014.
thanks
N
Thanks Toywheel for your workaround.
I have just upgrade unity to 4.5 and get the same error as you.
So i tried your workaround , but unsuccessful.
With the part B :
ScreenOrientation curOrientation = ScreenOrientation)landscapeLeft;
or
ScreenOrientation curOrientation = ScreenOrientation landscapeLeft;
I got the message > "unexpected type nome'ScreenOrientation'. expected expression"
I woud appreciate your help ;-)
Raphaël
As you might have seen in www.vuforia.com ,
the webpage animated banner already mentions "Vuforia SDK 3.0 coming soon",.
.. so, that should be it.
Hi,
first, thanks for posting your workarounds, definitely useful to other developers as well.
The next version of Vuforia will incorporate all the necessary elements for full compatibility with Unity 4.5.
To answer some of my own question:
I tried to compile our free kids game Toy Car RC with unity3d4.5 for IOs.
First i got Linker Errors like this:
Undefined symbols for architecture armv7:
"__curOrientation", referenced from:
-[UnityAppController applicationDidBecomeActive:] in UnityAppController.o
ld: symbol(s) not found for architecture armv7
but after
A. Commenting out line 2 of UnityAppController.mm to
//extern int _curOrientation;
B. changing from line 218 of UnityAppController.mm to
/*
QCARUnityPlayer::getInstance().QCARSetOrientation(_curOrientation);
[self performSelector:@selector(startUnity:) withObject:application afterDelay:0];
*/
ScreenOrientation curOrientation = ScreenOrientation)landscapeLeft;
QCARUnityPlayer::getInstance().QCARSetOrientation(curOrientation);
[self performSelector:@selector(startUnity:) withObject:application afterDelay:0];
it worked.
Our Project uses a Dataset with 4 Targets now on Top of that the ability to use Userdefined Targets instead of markers.
All this was fine.
So this seems to be a really minor issue, and it would be nice if the Makers of Vuforia could investigate this ASAP.
For us it would be ok to use such a fix, as we only want to support one screenorientation. But others... Not so good.
EDIT:
So it seems in Unity 4.5 the files iPhone_View.m and .h were removed. But the PostProcessBuildPlayer checks the existence of this file to figure if unity 4 is used. This would fail now. Then, the injection of _curorientation doesn´t seem to be valid any more, and needs to be changed for 4.5 as well.
The fix would be simply a slightly authored PostprocessBuildplayer, or advice an where to change what.
EDIT2:
And the same for Android, i guess, but i never used this.
If you are intersted in what app i am talking about, here is the free version made with Unity4.3 and Vuforia 2.8. (This one has "only" 2 targets, thus 2 worlds)
Itunes Store : https://itunes.apple.com/de/app/toy-car-rc-fahre-ein-virtuelles/id824793454?mt=8
@krista17,
Thanks.