Search Unity

Everyplay and Image Effects (iOS)

Discussion in 'Unity Everyplay' started by efge, Mar 19, 2015.

  1. efge

    efge

    Joined:
    Dec 13, 2007
    Posts:
    62
    When running on the device I get the following error message in Xcode even if the effect XYZ is not used:

    NullReferenceException: A null value was found where an object instance was required.
    at UnityStandardAssets.ImageEffects.XYZ
    ...


    Does Render to Texture not work with Everyplay?
     
  2. surathunity3d

    surathunity3d

    Moderator

    Joined:
    Sep 30, 2014
    Posts:
    128
    Hi @efge

    What exactly are you trying to do?
    Can you describe your issue better with some more info:
    - Which Unity version?
    - EP SDK version?
    - Which device?
    - Which graphics pipeline are your using - GLES2.0 / GLES3.0 / Metal?

    Cheers
    Surath
     
  3. efge

    efge

    Joined:
    Dec 13, 2007
    Posts:
    62
    Hi @surath3d

    That's what I did:
    - simple iOS project
    - imported Effect package
    - added Vignette, Fisheye and Overlay to the main camera
    - imported Everyplay package
    - enabled test buttons
    - build and run

    - Unity 5.0.0
    - EP SDK: 1950-1300 - Mar 10th 2015
    - iPhone 6, iOS 8.2
    - Metal rendering

    Thanks,
    fg
     
  4. surathunity3d

    surathunity3d

    Moderator

    Joined:
    Sep 30, 2014
    Posts:
    128
    Hi @efge

    It would great to have your project with us so that we can repro this and see what's going on.
    If you are interested please feel free to email us support[at]everyplay.com.

    Also, could you please try the same with GLES2.0 / GLES3.0 graphics pipeline?
    Just wondering whether this is Metal specific issue or not.

    Cheers
    Surath
     
  5. efge

    efge

    Joined:
    Dec 13, 2007
    Posts:
    62
    Hi @surath3d

    deleted build folder and Xcode project ... and everything works fine.
    Sorry about the hassle!

    Thanks again,
    fg
     
  6. surathunity3d

    surathunity3d

    Moderator

    Joined:
    Sep 30, 2014
    Posts:
    128
    Great! It's amazing when a clean build magically fixes the issues.
     
    efge likes this.