Forum begins after the advertisement:


Search Results for 'fader'

Home Forums Search Search Results for 'fader'

Viewing 2 results - 76 through 77 (of 77 total)
  • Author
    Search Results
  • #11930
    Paul Forkus
    Participant

    Im having a null exception error on the scene faders, yet my prefab of scene fader is active. The console is pointing me towards this line:
    fadeOutUIImage.color = new Color(fadeOutUIImage.color.r, fadeOutUIImage.color.g, fadeOutUIImage.color.b, _alpha);
    However, i put a debug line in the update function and its showing that fadeOutUIImage is not null, but when i put one in the SetColorImage function, it returned null. Could it be a script execution issue, or could there be something in the inspector I’m overlooking?

    Kiefer Neo
    Moderator

    If you are experiencing a null reference exception on your scene fader, this is probably due to the Scene Fader prefab’s active state being set to false.

    To fix this simply set the Scene Fader prefab to active and the Null Reference Exception should be fixed.

Viewing 2 results - 76 through 77 (of 77 total)

Advertisement below: