unity error cs1002 ; expected

my code

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

public class EybiMorderca : Monobehaviour {

void OnTriggerEnter(Collider other)
{
SceneManager.LoadScene(5);
}

}

Your error is telling you that you’re missing a semicolon on line 4 of your script.

1 Like

How to understand compiler and other errors and even fix them yourself:

How to report your problem productively in the Unity3D forums:

http://plbm.com/?p=220

If you post a code snippet, ALWAYS USE CODE TAGS:

How to use code tags: Using code tags properly