Hmm, so we added "<GetComponent>", added "using UnitiyEngine.UI" (also tried without it), and well the script still crashes Unity. Gray areas for us right now would be :
-Must the script be attached to the RawImage or to something else ?
-We had to change m_VirtualScreen to "Sprite/Default" in order to toggle "Pixel snap". Could that be an issue ?
-Before adding the second camera, no change is visible. Do you have any idea what could cause this problem ?
Right now, we don't really know what more we could do, so if you have any ideas, let us know :D