[I have a project that was developed in **Unity 4.1** version which needs to be ported on Windows 10 UWP. For this, I have opened the project on Unity 5.3. After all the automatic updates of API from Unity's end, it throws an error stating: Ambiguous reference 'preview': CameraMotionBlurEditor.preview, UnityEditor.Editor.preview. As far as I have researched, the most feasible solution is to rename the 'preview' variable name to '_preview'. But, as soon as the script is compiled on saving, Unity crashes.
This happens every time I change the script **CameraMotionBlurEditor.js**. Please find attached crash report text file.
Kindly help me out in this issue.
Thanks.][1]
[1]: /storage/temp/67931-crashreport-v2.pdf
↧