Camera goes black When Integrated with IOS Project

0 votes
asked Sep 19, 2017 by jitendra89 (120 points)
Hi Mates

I have integrated Easy AR IOS Project to my existing IOS Project .The project compiles successfully but when tried to access camera the screen opens in black .I have given all the permission required for the camera and photos in plist. I'm using Xcode 8.3.1

This is the error what I'm getting in the console.

EasyAR is running with an unsupported graphics API of type -4
UnityEngineInternal.WebRequestUtils:.cctor()
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Debug:LogErrorFormat(Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
System.Collections.ObjectModel.Collection`1:InsertItem(Int32, T)
UnityEngine.Debug:LogWarning(Object)
EasyAR.ARCameraBaseBehaviour:Update()
UnityEngineInternal.WebRequestUtils:.cctor()
System.Collections.Generic.HashSet`1:GetEnumerator()
System.Collections.Generic.HashSet`1:GetEnumerator()
System.Collections.Generic.HashSet`1:GetEnumerator()
HutongGames.PlayMaker.Actions.GetIPhoneSettings:OnEnter()

I have tired to change the graphic API to auto in player setting but nothing change.

Thank You

1 Answer

0 votes
answered Sep 20, 2017 by albert52 (31,850 points)
hi,

Usually this is not EasyAR or Unity bug, but the XCode project combination of some problems.And you need to make sure that UnityRegisterRenderingPlugin (& ezarUnitySetGraphicsDevice, & ezarUnityRenderEvent) is executed normally
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...