Hello.
First of all I question.
- Vuforia version: 7.0(Use Free)
- Unity version: 2017.3.0f(Use Personal)
Now Let's get Main Question.
Actually my intention
1. Run application.
2. when my smart phone distinguish target -> maker is apperence.
3. second ARcamera is active and than trace maker. Main ARcamera is unactive.
4. When target is Out of camera. Main ARcamera is active second ARcamera is unactive.
So I make two AR Camera at the one Scene.
And than play button.....
oh no all objects are gone!
this is error list.(attach picture - multiARCamera.JPG)
-----------------------------------------------------------
It's not possible to have two ARCameras at the same time UnityEngine.Debug:LogError(Object) Vuforia.ARController:RegisterCamera(VuforiaBehaviour) Vuforia.<>c__DisplayClass11_0:<Register>b__0(VuforiaBehaviour) System.Delegate:DynamicInvoke(Object[]) Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[]) Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action`1, VuforiaBehaviour) Vuforia.VuforiaBehaviour:Awake() -----------------------------------------------------------
Thank you.
You can only have one
You can only have one ARCamera.
However, you can have multiple regular unity cameras. In your single ARCamera, have it look for any and all targets that you need. Turn off the objects you don't care about -- you can logically change things based on whether you see a target or not.
milkerz says
milkerz says
You will have to think of another way of doing this that requires only one ARCamera
Do you have another way or sample?
Hi
Hi
Did you manage to implement multiple ARCamera in single scene?
I want to use 3 ARCamera kept in 3 places too do single target image recognization using single app.
Hi @audrey,
Hi @audrey,
Could you please provide us more deails on your use-case for 3 AR Cameras in the same scene? Why is 1 not enough?
Thank you.
Vuforia Engine Support