Log in or register to post comments

Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 13, 2012 - 9:17pm #1

I am very frustrated with this problem and the Unity3D community isn't very helpful because no one there is answering my question. I have done a ton of searching to find what the problem could be, but I didn't succeed. I installed Vuforia 1.5.10 and Unity3D 1.5.0.f. I use the Unity extension. I imported the demo app called vuforia-imagetargets-android-1-5-10.unitypackage, put the wood chips image target on the scene, the AR camera, and added a box object on top of the image target. Then I built it and sent to my Samsung Galaxy tablet. However, when I open the app on the tablet and point the tablet to the image target, nothing shows up - the 3D box isn't there. As if I didn't add any objects to the scene. I just see what the device camera sees.

Has anybody experienced this before? Do you have any ideas what could be wrong? No one online seems to be complaining about it.

Thank you!

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 30, 2012 - 12:37pm #13

I had this problem recently. A parent of the camera displaying the markers had its scale changed, and it threw the location of the virtual marker object waaaay off.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 23, 2012 - 3:38am #12

found it. . . it was xcode 4.3. Reinstalled 4.2 now everything is fine

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 10:10am #11

You can try that. Be sure that your extension version and samples derive from the same release version.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 10:07am #10

maybe starting a new fresh project?

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 9:56am #9

I've taken a look at your project. Try reimporting the 1.5.9 iOS Unity extension. You'll also need to import the 1.5.9 ImageTarget sample to avoid an error on the CameraDeviceMenu. There are version conflicts among the libraries you're using.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 9:35am #8

I have Vuforia 1.5.9 (IOS). . . will upgrade Unity as soon as possible :|

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 9:23am #7

Hello corax,

Can you update to Unity 3.5.1 or newer. Also are you using the latest sample or a sample from an older version of Vuforia?

Thank you,

-Peter

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 22, 2012 - 4:47am #6

I'm using the qualcomm teapot sample but nothing is rendering. Here is the project zipped so you can check:

http://dl.dropbox.com/u/25470280/AR.zip

Unity version: 3.5.0b6

P.s on 3.4 everything worked fine! it' my third project with vuforia!

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 19, 2012 - 5:54pm #5

Don't worry about those warnings. If you run into issues again, please post a full log from your console.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 19, 2012 - 6:32am #4

I seem to have a similar problem. If I deploy to a iOS device and point at my marker I do get debug printouts:

Trackable test found
 
(Filename: /Applications/buildAgent/work/300357e52574df36/Runtime/ExportGenerated/iPhonePlayer-armv7/UnityEngineDebug.cpp Line: 43)

Trackable test lost

But nothing is rendered. At the boot of the app there are some additional printouts that worries me:

2012-05-19 15:27:17.740 temp[7099:707] DEBUG/AR(7099) UIView has CAEAGLLayer class
2012-05-19 15:27:17.742 temp[7099:707] DEBUG/AR(7099) UIView does not respond to selector renderFrameQCAR
2012-05-19 15:27:17.744 temp[7099:707] DEBUG/AR(7099) Could not find a UIView with CAEAGLLayer layer class that responds to selector renderFrameQCAR

Is this a bug? Seems to be a lost connection between the OpenGL layer and QCAR?

BTW: I'm using Unity3D Pro 3.5.2f2

EDIT: Just tried a sample project and that one works... After re-doing my project for the third time it worked. I have no idea why it didn't the first two times though. I made nothing new and followed the "Getting started" tutorial.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 18, 2012 - 8:27pm #3

That was it! Thanks a lot! I didn't configure the Data Set Load behaviour. Stupid me!

Thanks again and sorry for the late response. Some days I have trouble logging in to this forum for some reason.

Re: Vuforia 1.5.10, Unity3D 3.5.0.f, Object not rendering

May 13, 2012 - 10:27pm #2

Does the unmodified ImageTargets Unity sample run properly?

If so, try replacing the teapot model with your cube, as a child of the target.

To create your own scene..

Add an ARCamera and configure this to load and activate the dataset that you're using. You can do this using the Data Set Load Behaviour in the Inspector when the ARCamera is selected.

Add an ImageTarget and configure this for the specific data set and image that you want to use in the Image Target Behaviour panel in the Inspector.

Then add your cube model as a child of this ImageTarget ( i.e. drop it on the ImageTarget instance - it will appear below the instance in the Hierarchy ).

You can view your scene in Play Mode by pressing the Play button above the Scene and Game views in the Editor.

Add the Scene via Build Settings > Scenes in Build > Add Current. Make sure that there are no other scenes being loaded. Then you can Build & Run the scene to your device.

Log in or register to post comments