0
\$\begingroup\$

Hi I am trying to follow this mini tutorial and I can detect image and replace it with my 3d Object which is in AR Session Origin tracked image prefab. But when I try to add Video Player instade of 3d object to my AR Session Origin tracked image prefab, nothing happens.. I was using Unity 2019.2 and I was getting error when I try to put video player, then I search about it and Unity fixed that issue on 2019.3 so I am now using 2019.3 and I didn't get error anymore but also there is nothing on screen when image detected. Am I missing something ? Any advise ?

\$\endgroup\$
2
  • \$\begingroup\$ Kindly, did anyone find a solution for this problem? any video or tutorial for play video on Marker's image? Thanks in advance! \$\endgroup\$ – Help Me in GIS Jan 29 at 22:41
  • \$\begingroup\$ there is nothing on screen when image detected Either the prefab isn't even being spawned, or it is spawned but not visible. Personally I suspect the latter, but regardless first determine whether or not the prefab is instantiating. For example, put a script on it that prints a message to the console in Start() \$\endgroup\$ – jhocking Jan 30 at 1:15
0
\$\begingroup\$

May be your not doing wrong if you not getting any error , did you check AR Foundation samples ,

https://github.com/Unity-Technologies/arfoundation-samples

check it i am sure there is example of video player , make prefab and add that prefab as instantiate object on target image.

if you still getting issue let me know i will make helping video for you.

\$\endgroup\$
2
  • \$\begingroup\$ I have the same issue and cant find a video player example in the samples files, can you help me? \$\endgroup\$ – spqx Sep 15 '20 at 11:00
  • \$\begingroup\$ Are you trying to play video on Marker's image, Am I right? \$\endgroup\$ – Hardik Sep 16 '20 at 15:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.