I
I
i__egor2020-01-02 13:47:30
Unity
i__egor, 2020-01-02 13:47:30

Why doesn't unity find EventSystems and UI?

After installing UnityEngine.Monetization, the project was automatically changed. I open the solution in VS 2017 Community. Now there is not one project in the solution, but 3: MyProject, MyProject.Editor, MyProject.Plugins. Now the unit swears at the line using UnityEngine.EventSystems; (the type or namespace name 'EventSystems' does not exist in the namespace 'UnityEngine'). In addition, there were errors in the line "GetComponent ()" (could not find Image) and a bunch of the same errors. What is the problem here?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fox_ME, 2020-04-19
@Fox_ME

I have exactly the same problem: VS didn't see both .UI and Events. Today, for some unknown reason, I saw Events. Today added Unity.Notifications - also does not see it. Although everything works correctly. Moreover, VS Code (Package Visual Studio Code Editor 1.2.0) - sees everything perfectly. But she has her own jambs)
Unity 2019.3.7f1, VS 2017. That is, like a crutch - VS Code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question