Error CS0234

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

Post Reply
Alexey
Posts: 2
Joined: 03 Apr 2022, 22:13

Error CS0234

Post by Alexey »

Good day
I have errors, how can I fix this?

Assets\Scripts\Controllers\GameSceneController.cs(5,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

Assets\Scripts\Controllers\LoginSceneController.cs(42,9): error CS0246: The type or namespace name 'Text' could not be found (are you missing a using directive or an assembly reference?)



Error images
https://disk.yandex.ru/i/Ee3IEIJ2d7WdDw
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: Error CS0234

Post by Bax »

Is it the MMO Basics example? Did you get it from the Asset Store, or from our website?
You are using Unity 2022. If you got the example from the Asset Store, it should be the right version. If instead you got it from our website recently, it is compatible with Unity 6 only.
Paolo Bax
The SmartFoxServer Team
Post Reply