- Home /
The type or namespace name `SceneManagment' does not exist in the namespace
I dont know why this is happening mono tells me the build is successful, but the console says The type or namespace name SceneManagment' does not exist in the namespace
UnityEngine'. Are you missing an assembly reference?
I downloaded unity test tools and this happens, also I am using unity 5.1. Please tell what is happening.
If that's a direct copy from the error, then Scene$$anonymous$$anagement is misspelled.
Answer by Eudaimonium · Mar 27, 2016 at 11:13 PM
Add
using UnityEngine.SceneManagement;
at the top of your script.
Hint: Both Mono and Visual Studio (which I would warmly recommend over Mono) will give you some advice what to do, or outright fix the error for you if you hit the problematic part and find "Resolve". In your case, both will offer to automatically add the needed namespace under Resolve menu.
Your answer
![](https://koobas.hobune.stream/wayback/20220612073354im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Is it possible to get terrain tools on imported terrrain ? 1 Answer
Failed to unpersist: MonoBehaviour ID and then unity destroys our scene. 3 Answers
Objects that have been scaled have weird X, Y, Z value in the Scene Editor 2 Answers
Unity not responding on opening scenes 0 Answers
Update scene view in editor script 0 Answers