Log in or register to post comments

Known issue with Unity 2019.1/2 update

July 2, 2019 - 12:52pm #1

Vuforia Support acknowledged a serious issue with Unity 2019 and iOS A10 processors:

https://developer.vuforia.com/forum/unity/known-issues-unity-20191

 

Is there any update on this?

 

The post says it's related to CPU load and the device tracker. I do not believe this to be the case. In my experiments with an otherwise blank project, I see the lag behavior even when device tracking is disabled. In this scenario (Unity 2019.1, Vuforia 8.3.5), the lag begins as soon as an image target begins to be tracked. I also, don't believe FPS is dropping, the camera feed is just lagging. Xcode logs a bunch of warnings:

 

Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak



(Filename: ./Runtime/Allocator/ThreadsafeLinearAllocator.cpp Line: 539)

To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations



(Filename: ./Runtime/Allocator/ThreadsafeLinearAllocator.cpp Line: 541)

 

This is a serious issue that makes iOS apps built with Unity 2019.1 or 2019.2 un-shipable.  I've wasted 2 days diagnosing this issue.  Vuforia should be using multiple methods of communication to make it more clear that their product is broken in Unity 2019 so more developers don't waste there time. Why is it not mentioned in the release notes? Why doesn't Vuforia message the users in Unity when they know it's not going to work. How do regressions like this happen? shouldn't Vuforia be regression testing with every new version of Vuforia and Unity?

Known issue with Unity 2019.1/2 update

July 29, 2019 - 8:51am #5

Hello @BaltiVirtual,

We did not notice any difference in our Core Samples when making the suggested change in *MetalHelper.mm*. In other words, we did not notice any difference when the surface was set to opaque or not.

However, we still thought it was worth documenting in case any developers run into any "undesirable" effects.

Thanks,

Vuforia Engine Support

Known issue with Unity 2019.1/2 update

July 29, 2019 - 5:58am #4

Thank you for providing a workaround. can you please elaborate on: "with the exception of setting the surface to opaque, which could be undesirable."? What surface? how would we see the difference?

Known issue with Unity 2019.1/2 update

July 26, 2019 - 11:50am #3

Hello,

In cooperation with Unity, they believe they've isolated the line of code that has introduced the performance regression in Unity 2019.

Please see the PROPOSED WORKAROUND section in the following post: https://developer.vuforia.com/forum/unity/known-issues-unity-20191

Thanks,

Vuforia Engine Support

Known issue with Unity 2019.1/2 update

July 3, 2019 - 9:40am #2

Hello,

Apologies for the inconvenience that this has caused for you and other in the community. Despite no recent updates, we continue to work this issue with high priority in hopes of identifying the source, and ultimately a fix.

Please note that we have done our best to communicate the issue to developers via forum stickies (posted on 4/30/19):

https://developer.vuforia.com/forum/unity/known-issues-unity-20191

https://forum.unity.com/threads/known-issues-with-unity-2019-1.670405/

And in our release notes: https://library.vuforia.com/content/vuforia-library/en/articles/Release_Notes/Vuforia-SDK-Release-Notes.html (listed as a Known Issue for 8.3.8)

"Using Unity 2019.1, iOS devices with the A10 processor or lower (e.g. iPhone 6S, iPhone 7) that use Metal rendering API in combination ARKit (via Vuforia Fusion) can increase CPU load such that camera lag and/or dropped frames can be observed. Please refer here for more information."

We understand that this is requires developers to actively search for this information.

Thanks,

Vuforia Engine Support

 

 

 

Log in or register to post comments