Search Unity

Invalid URI: The Authority/Host could not be parsed on iOS. Used to work in 5.6

Discussion in 'iOS and tvOS' started by TwistedSage, May 26, 2018.

  1. TwistedSage

    TwistedSage

    Joined:
    Dec 12, 2012
    Posts:
    21
    Hi Everybody.

    I get this error, when I run on iOS in latest Unity 2017.
    It used to work in Unity 5.6. I build the path on iOS like this:
    NSString *fileUri=[NSString stringWithFormat:mad:"file:%@?ori=%d&cnt=%d",path,image.imageOrientation,callCount];

    Then I attempt to load via WWW class and get the above error?!
    I found something on google, where people talk about the file:/ file:// being stricter in Unity 2017, but I can't seem to get it to work.

    Anyone have a fix for that?

    Thanks in advance

    Odin