Log in or register to post comments

Android Live Texture Size

March 4, 2014 - 4:44am #1

Hi All,

I've successfully built and submitted our App to Apple, now I'm running through the conversions for Android builds and hit upon a snag.

When building to a tablet device the app loads up correctly however the live texture (texturebuffer) only displays just over a quarter of the screen.

So I have a live feed now located at the bottom left (portrait view only) of the screen with the other three quarters black and when I activate the AR the content is displayed full screen as though the life feed was displayed.

Any help would be very much appreciated. 

Steve

Android Live Texture Size

March 6, 2014 - 7:43am #12

This last error suggests that your DefaultTrackableEventHandler class for some reason is still referring to the old version of Vuforia, where the EXTENDED_TRACKED status was not defined (this has been introduced in 2.8.7).

Probably something went wrong during the migration, for instance have you removed all the old Vuforia libraries and assets ?

check again the migration guide here:

https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project

 

Android Live Texture Size

March 6, 2014 - 4:51am #11

Ok thats gone away. Now faced with:

Assets/Qualcomm Augmented Reality/Scripts/DefaultTrackableEventHandler.cs(50,52): error CS0117: `TrackableBehaviour.Status' does not contain a definition for `EXTENDED_TRACKED'
 
:/

Android Live Texture Size

March 6, 2014 - 4:28am #10

The error message mentions this class:

Assets/PlayMaker Vuforia/Scripts/PlayMakerVuforiaTrackableProxy.cs

so, it seems that the PlayMakerVuforiaTrackableProxy class is implementing ITrackableEventHandler interface, but it is not implementing the method OnTrackableStateChanged.

So, you should add it in that class.

 

Android Live Texture Size

March 6, 2014 - 4:20am #9

Should this be added to DefaultTrackableEventHandler.cs? 

Many thanks for your help :)

Android Live Texture Size

March 6, 2014 - 2:49am #8

The error message is telling you that your class must have this method implemented:

public void OnTrackableStateChanged(TrackableBehaviour.Status oldStatus, TrackableBehaviour.Status newStatus)

{

... your code here ...

}

 

 

Android Live Texture Size

March 5, 2014 - 1:51pm #7

I've followed your advice and updated the Vuforia files and ran through the step by step migration. Howver I now have the following error coming up in the project;

Assets/PlayMaker Vuforia/Scripts/PlayMakerVuforiaTrackableProxy.cs(18,14): error CS0535: `PlayMakerVuforiaTrackableProxy' does not implement interface member `ITrackableEventHandler.OnTrackableStateChanged(TrackableBehaviour.Status, TrackableBehaviour.Status)'
 
Any help would be much appreciated.
 
 

Android Live Texture Size

March 4, 2014 - 12:02pm #6

Ok, so, consider that Vuforia 2.8 was released quite recently, in December 2013, so it is well possible that you were still on 2.6.7. 

I'm pretty confident that your problem will disappear as soon as you have downloaded 2.8.7 and upgraded your app to this version.

Also, make sure to read the upgrade guide here:

https://developer.vuforia.com/resources/dev-guide/transitionmigration-guide

and specifically for the Unity extension:

https://developer.vuforia.com/resources/dev-guide/api-changes-vuforia-v28-unity

https://developer.vuforia.com/resources/dev-guide/migrating-your-unity-project

 

Android Live Texture Size

March 4, 2014 - 8:12am #5

I was sure I was using the most up to date version, but either way I'm downloading the latest pack. Download has crashed several times, so it might take me a while to test and feedback. :(

Android Live Texture Size

March 4, 2014 - 6:24am #4

The error you describe (video background texture over a quarter of screen) was occurring with Vuforia 2.6.7 on Unity 4.3, but has been fixed in Vuforia 2.8.7;

so it sounds like you are still using Vuforia 2.6.7 with Unity 4.3; could you double check ? if that's the case, you should upgrade to Vuforia 2.8.7 (which is the latest Vuforia).

 

Android Live Texture Size

March 4, 2014 - 4:56am #3

I'm using the most up to date versions of both Unity and User Defined Vuforia.

Android Live Texture Size

March 4, 2014 - 4:52am #2

What version of Vuforia are you using ?

and are you building from Unity ? if so, which version of Unity ?

Log in or register to post comments