Skip to content

Fixed: “Cysharp” and “UniTask” not found

Error I encounter after trying to use https://github.com/HardCodeDev777/UnityNeuroSpeech

Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerOllamaModule.cs(1,7): error CS0246: The type or namespace name 'Cysharp' could not be found (are you missing a using directive or an assembly reference?)

07:34:28] Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerTTSModule.cs(6,7): error CS0246: The type or namespace name 'Cysharp' could not be found (are you missing a using directive or an assembly reference?)

[07:34:28] Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerOllamaModule.cs(25,22): error CS0246: The type or namespace name 'UniTask<>' could not be found (are you missing a using directive or an assembly reference?)

07:34:28] Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerTTSModule.cs(57,22): error CS0246: The type or namespace name 'UniTask' could not be found (are you missing a using directive or an assembly reference?)

[07:34:28] Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerTTSModule.cs(119,23): error CS0246: The type or namespace name 'UniTask' could not be found (are you missing a using directive or an assembly reference?)

[07:34:28] Assets|UnityNeuroSpeech\Runtime|ControllerModules|ControllerTTSModule.cs(126,23): error CS0246: The type or namespace name 'UniTask' could not be found (are you missing a using directive or an assembly reference?)

07:34:29] Failed to find entry-points:
Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'UnityNeuroSpeech.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' --- > System.Exception: Failed to resolve assembly 'UnityNeuroSpeech.Editor, Version=0.0.0

How to fix?

Download this https://github.com/Cysharp/UniTask

See also  What are AdMob Campaigns for? How to use?

Unzip, and then Copy the UniTask folder in

UniTask-master\src\UniTask\Assets\Plugins

to the Plugins folder in your current project.

Done!


Discover more from Knowledge sparks

Subscribe to get the latest posts sent to your email.

Leave a Reply

error: Content is protected !!