Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Getting a custom script to work instead of UnityARVideo

Discussion in 'AR' started by CatalinMustata, Oct 16, 2017.

  1. CatalinMustata

    CatalinMustata

    Joined:
    Oct 12, 2017
    Posts:
    6
    Hi there,

    I'm trying to roll my own demo, with some modifications to the ARKit plugin. However, I would like to keep the original sources intact, so I've made another script that, for the moment, is a copy of UnityARVideo.cs.

    I've replaced the script on the Main Camera object, but I noticed the old code was still executed. I then proceeded to remove that script component completely from the Main Camera... but it was still executed.

    I assume I'm missing something regarding how everything is tied together, so I'd really appreciate some help. Thanks!
     
  2. CatalinMustata

    CatalinMustata

    Joined:
    Oct 12, 2017
    Posts:
    6
    Wow... Although I was editing one scene... I was building another one. It finally occurred to me when I noticed I was using the occlusion plane material but it rendered the regular planes.