snozbot / fungus

An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
MIT License
1.59k stars 291 forks source link

Assets / Fungus-Playmaker / FungusStateTransition.cs (3,7): Error CS0246: Could not find type or namespace name 'Fungus'. Are you missing a using directive or an assembly reference? #1033

Closed TrafficRider closed 2 years ago

TrafficRider commented 2 years ago

I must warn you, I'm an absolute beginner :) Stopped with such an error. How can I fix it? Assets / Fungus-Playmaker / FungusStateTransition.cs (3,7): Error CS0246: Could not find type or namespace name 'Fungus'. Are you missing a using directive or an assembly reference? Unity version 5.3.0f4 юнити ошибка

Arylos07 commented 2 years ago

There are 2 potential issues here.

1) You are missing Fungus or it was not installed correctly. I don't know what Fungus-Playmaker is but it sounds like it's a collection of helper classes and does not include Fungus by default. If Fungus is installed, make sure it's not in any subfolders like Scripts/Fungus and all of its assets are in Assets/Fungus. The Unity Package in Releases should do this for you.

2) I see you're using Unity 5. I know Unity 5 is in the minimum requirements but I don't think it's recommended with the curernt build. The oldest version I could get it working on was 2017. If everything else supports it and you're not in the middle of production, I would switch to a version like 2019-2020 since Fungus is stable on those versions.

Let me know if nothing else is working; this doesn't seem to be a Fungus specific bug but more user-specific. I would also join the Fungus Discord for one on one help.

TrafficRider commented 2 years ago

Hi thanks for the tip, it worked)