By izrin93
on Thu, 11/21/2019 - 11:36
Hello, the problem I found is very bugging me because in my scene there are only one ARCamera, but when I run it, it shows the error "It's not possible to have two ARCameras at the same time".
Please help fix this problem.
Thanks.
For: Androids & iOS.
Error:
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[])
.DelegateHelper:InvokeDelegate(Delegate, Object[])
Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action`1, VuforiaBehaviour)
Vuforia.VuforiaBehaviour:Awake()
Hi,
Hi,
Could you please provide a print-screen from your project structure? I'm interested to see and find out if maybe you have installed Vuforia 2 times, once via installer and once via PacketManager.
Thank you.
Hello mcotora,
Hello mcotora,
Sounds more like you have the
Sounds more like you have the VuforiaBehaviour script twice in your scene
Hello,
Hello,
So how can I fix this problem if there are two Vuforia Behaviours? In my scene, there are only one ARCamera.
Thanks.
Hi, everyone. I have the same
Hi, everyone. I have the same issue. Any solution?
It appeared when I updated the unity project to the last version.
Thanks.
Hi,
Hi,
There are 2 things to consider, first how many Vuforia instances you have. If you upgraded from version prior to package manager, than you will have have in the Assets folder also a Vuforia folder. This would need to go. As the recent versions use Vuforia from the package manager.
Does it show up the second
Does it show up the second ARcamera when you run the game? i have the same problem when the game is runing, and the second camera is appear at the same time. you can check it again.