Change scene not working

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class scenechange : MonoBehaviour
public void sceenchanger(){

It displays message of not loaded and any idea why is that so ?

Remove the " " around the number 1 and it should work, if you have put your scenes into the build setting.

Hi @Vaibhav_Kumar,

How are you getting on with this? Did @David_Lamonaca’s answer help?

See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms