Log in or register to post comments

Trying to create more than 100 Image Targets with type "From Image"

April 9, 2020 - 7:32am #1

Hi, I have 150 image targets in my scene that I created with the Image Target Behaviour, on Unity 2019.3 with Vuforia 9.0.12. I've set the type of the Image Target to "From Image", so I don't have to create a database for all those targets. When I had 30 targets in testing, this went fine, but now that I created the rest, I seem to hit a limit. Disabling the last 50 seems to help. Is there a limit of 100 Image Targets created this way? Should I create a Database of my images online anyway?

Best, Frank

Trying to create more than 100 Image Targets with type "From Image"

June 25, 2020 - 10:01am #10

I got around this problem with multiple DataSets. I put 100 images in a dataset, and then made a new one for the next 100 and so on.

Trying to create more than 100 Image Targets with type "From Image"

May 19, 2020 - 7:45am #9

I've tested again with the updated Vuforia package (9.1.7) and the problem persists. Any luck in finding the cause of this error?

Trying to create more than 100 Image Targets with type "From Image"

April 21, 2020 - 12:59pm #8

Hi, do you have a solution for our problem yet? I temporarily solved it by using a database made online, but it adds a few megabytes to our app's size that I'd rather avoid having in there.

Trying to create more than 100 Image Targets with type "From Image"

April 14, 2020 - 3:03am #7

Hi,

Yes, please use your desired cloud provider and pm me the link for download.

Thank you.

Vuforia Engine Support

Trying to create more than 100 Image Targets with type "From Image"

April 14, 2020 - 2:45am #6

mcotora wrote:

Would it be possible to share your project with us? to further investigate the issue.

 

I would, but can't just upload it here because it's currently under NDA. If there's a way to email it or use WeTransfer or something, let me know?

Best, Frank

Trying to create more than 100 Image Targets with type "From Image"

April 14, 2020 - 2:39am #5

Hi,

Sorry to hear that but glad that it worked in the end.

Would it be possible to share your project with us? to further investigate the issue.

Thank you.

Vuforia Engine Support

Trying to create more than 100 Image Targets with type "From Image"

April 14, 2020 - 1:18am #4

Hi, still @frankh here, now logged in with our paid account.

I've bitten the bullet and created an online database with our 150 images (too bad there's no way to upload them all at once). Switched all Image Targets to use "From Database" type, and in Editor Play mode I don't get the errors anymore. A quick test on my Android device also works now.

Trying to create more than 100 Image Targets with type "From Image"

April 10, 2020 - 1:47am #3

It is both Play mode and on device: this is the message that I get 50 times when I activate all 150 Image Targets:



DataSet.CreateTrackable returned unknown or incompatible trackable type!

UnityEngine.Debug:LogError(Object)

Vuforia.DataSet:CreateTrackable(TrackableSource, GameObject)

Vuforia.DatabaseLoadARController:CreateInstantImageTargets()

Vuforia.VuforiaARController:StartAfterInitializationCompleted()

Vuforia.VuforiaARController:Start()

System.Delegate:DynamicInvoke(Object[])

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action)

Vuforia.VuforiaBehaviour:Start()

 

It makes no difference if I disable the first 50 or the last 50 items in my scene, so I don't think specific Image Target instances are to blame. It's the amount of targets that breaks it.

Trying to create more than 100 Image Targets with type "From Image"

April 9, 2020 - 11:51pm #2

Hi,

There is no hard limit. When you say the you hit a limit, how did it manifest? Do you see this behaviour in Play Mode or on the device?

Thank you.

Vuforia Engine Support

Log in or register to post comments