Search Unity

Unity 2017.1 PhotoCapture SupportedResolution not found

Discussion in 'VR' started by eclickhu, Jul 13, 2017.

  1. eclickhu

    eclickhu

    Joined:
    Apr 5, 2017
    Posts:
    1
    Hello

    I found this "little" problem both in Unity 5.6 and 2017.1:
    Assets/Scripts/MyScripts/AdvancedPhotoRecognition/PhotoCapture.cs(36,44): error CS0426: The nested type `PhotoCaptureResult' does not exist in the type `PhotoCapture'

    How can i solve this ?

    Thx, Reni
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    There is not enough information to know what is happening, can you provide more information?
     
  3. anakin0225

    anakin0225

    Joined:
    Sep 24, 2017
    Posts:
    1
    This is because you have set your class/script name to "PhotoCapture", which is the same with another class you used for implementing PhotoCaptureResult. Try changing your class/script name.