- Home /
Why is this error "Type or namespace UnityEngine.UI does not exist" in windows
I am using unity 2020.1.4f . I was trying to Make a joystick So i made a script .I need to use UI element so i include UnityEngine.UI . Everything is working fine so far. Then i found a package Input System and I installed it but then this error occured. I dont Know the exact reason. I checked this problem on unity forum, Everyone said " restart unity " but this didnt work for me. if anyone know something about this issue , Plz tell me what should i do.
Have you installed the UI package in the package manager?
yeah , I installed it. However i solved this Issue by Re importing all the assets. Thanks anyway
Answer by chetan312 · Sep 25, 2020 at 10:29 AM
Anyone who is facing this kind of problem , Try Assets> Reimport all . Still I dont know the exact reason but this is how i fixed it.
Your answer
![](https://koobas.hobune.stream/wayback/20220613012515im_/https://answers.unity.com/themes/thub/images/avi.jpg)