i have the same scene fader script which is working for every other game but I don’t think it have any issues. The problem is when I need to pass to the next scene it happen like in the picture
the code which load the scene is:
if(col.tag == "EndLevel")
{
Destroy(col.gameObject);
score += 1000;
PlayerPrefs.SetInt("Score", score);
if(score > bestScore)
{
PlayerPrefs.SetInt("BestScore", score);
}
sceneFader.FadeTo(nextScene);
return;
}
Anyone have any idea why this is happening ? I use the latest Unity Engine 2019.1.1