Log in or register to post comments

Artifacts using certain animations in Unity

March 6, 2017 - 11:13am #1

Vuforia SDK Version: 6-2-10 -

Description with steps to reproduce: I've discovered a strange issue in while creating an AR experience for IOS using Unity and Vuforia: when child objects of my image targets had animations that used the property for "Mesh Renderer" (in my case, keyframes to turn them on and off), the associated mesh would appear in the camera view of the app whether or not the associated image target was in view. The mesh would appear as expected if the camera was pointed towards their associated image target, but would remain on the screen when the camera turned away from the target.

By removing the mesh renderer attributes from the object's animations, the object's behavior returned to normal. It took me a week and thousands of gray hairs to finally figure this out.

I captured some video of the effect, but the project I'm working on isn't ready for public release yet- Medabit, if you'd like to see the effect, contact me via email and I'd be happy to upload the video for you to examine. -

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

Mobile OS and Version: IOS 10.2.1 -

Mobile Device Manufacturer and Model name: Apple Ipad Air -

Do the Vuforia Sample Applications show the same behavior?: No

Artifacts using certain animations in Unity

March 22, 2017 - 7:38am #5

The red and blue targets are children of ImageTargets, and should disappear when their parent targets are no longer being tracked. And again, if the MeshRenderer property is removed from their animations, the objects behave properly, and disappear when the image targets they are children of are out of the AR camera's view.

Were you able to reproduce this effect, using the steps I described before?


Artifacts using certain animations in Unity

March 21, 2017 - 11:44am #4

When there's no tracking of any targets, the ARCamera will stop translating and rotating in space. If the red and blue balls are in view when the camera freezes in place, then they'll stay there until tracking begins again. You can preview this in Unity PlayMode by having Scene and Game view visible at same time and finding the ARCamera in scene view and watching its relationship to targets.

Artifacts using certain animations in Unity

March 7, 2017 - 8:57am #3

Since I made a new version of the Vuforia demo and replicated the issue there, I can post this publicly. For this video I just took the Vuforia demo scene and added an animated sphere to 2 of the image tags. Each animated sphere has a MeshRenderer property animated, which appears to cause the weird display issues you'll see in the video.

Deleting the MeshRenderer property from the animation solves the problem somehow.


Let me know if I can be of further help!

Package icon vuforiaBugExample 2.zip96.72 MB

Artifacts using certain animations in Unity

March 6, 2017 - 5:59pm #2


Yes, please PM me the video. Can you also provide a repo project, or instructions to repo using our sample app? This will help me expedite the investigation.


Log in or register to post comments