Throws an error at startup, does not activate the object

0 votes
asked Aug 3, 2019 by artixpro (160 points)
404 Not Found
UnityEngine.Debug:LogError(Object)
<LoadImageTarget>d__18:MoveNext() (at Assets/EasyAR/Scripts/ImageTargetController.cs:110)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
ImageTargetController:Start() (at Assets/EasyAR/Scripts/ImageTargetController.cs:75)

2 Answers

0 votes
answered Aug 3, 2019 by rlmidiaalvs (2,440 points)
Hello!

I had the same problem. What OS do you use? Check your folder/project permission. I solved altering my project to another disk.
commented Aug 3, 2019 by artixpro (160 points)
I use Mac Os
0 votes
answered Aug 5, 2019 by emanuel (390 points)
Unity can't find the image that you've written at "TargerPath".

If you're using the type option "StreamingAssets" just write the image's name e.g. "Image.png".

If you're using the "Absote" option you may paste the same url in Windows Explorer (I don't know if Finder has the same option) to check if the url is working properly.

Also, you may change the "ImageTargetBehaviour" to use a Sprite or UnityWebRequest instead of WWW.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...