fungus

Open full view…

Error

monstermash
Tue, 25 Jul 2017 06:49:31 GMT

I started a new blank project, imported Fungus, created a Flowchart, and got this error: MissingMethodException: Method not found: 'UnityEngine.Texture2D.LoadImage'. Rotorz.ReorderableList.Internal.ReorderableListResources..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Rotorz.ReorderableList.Internal.ReorderableListResources Rotorz.ReorderableList.ReorderableListStyles..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Rotorz.ReorderableList.ReorderableListStyles Rotorz.ReorderableList.ReorderableListControl..ctor () Rotorz.ReorderableList.ReorderableListGUI..cctor () Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Rotorz.ReorderableList.ReorderableListGUI Fungus.EditorUtils.FlowchartEditor.OnInspectorGUI () (at Assets/Fungus/Scripts/Editor/FlowchartEditor.cs:75) UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNex t, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:124 0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) I also get no UI when I click on the block (it stops at 'The block will execute when the game starts playing'... there's nothing below it) I'm also getting this warning: Unexpected top level layout group! Missing GUILayout.EndScrollView/EndVertical/EndHorizontal? UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) and this error (assuming it's cascading from the first): GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

monstermash
Tue, 25 Jul 2017 14:02:12 GMT

Tried that...same thing. I clicked "Download" in my unity asset store, imported again, and when I make a flowchart, I get the Texture2D error.

monstermash
Tue, 25 Jul 2017 16:27:50 GMT

I did notice that even after I had deleted all fungus-related files and objects, I got a warning about the _FungusState object, which I could edit in the editor via double-clicking the warning, but it wasn't in the Hierarchy window. I'll try later to get it working again (I've since moved on to my own dialogue system).

monstermash
Wed, 26 Jul 2017 03:05:50 GMT

Nope, didn't work. It's cool tho...I was just wanting to take a look at it.

chrisgregan
Thu, 27 Jul 2017 20:57:51 GMT

Weird. What version of Unity is this happening in?

monstermash
Fri, 28 Jul 2017 04:45:53 GMT

2017.1.0f3, and whatever version of Fungus is on the Asset Store

pavsikakyj
Sat, 29 Jul 2017 12:18:51 GMT

Have the same issue. When I opened my project for the first time with 2017.1.0f3, I got message that Unity doesn't used some GUI features, used im my project. Guess it was some Fungus resourses.

chrisgregan
Sat, 29 Jul 2017 17:11:57 GMT

Tried it here and seems to be related to a deprecated Unity method used by the ReorderableList DLL. When you import Fungus you should see an alert about updating legacy code. If you allow the update then Fungus should work ok after the import.

pavsikakyj
Sat, 29 Jul 2017 23:34:04 GMT

Tried to reimport Fungus into my project. But didn't see any options to allow.

pavsikakyj
Sun, 30 Jul 2017 13:36:11 GMT

http://prntscr.com/g24igf - I got this, when reinstalled Unity

pavsikakyj
Sun, 30 Jul 2017 17:17:19 GMT

http://prntscr.com/g26myb - and this, when reimported Fungus

monstermash
Mon, 31 Jul 2017 20:24:17 GMT

Yep.

jdscogin
Mon, 31 Jul 2017 21:07:27 GMT

Well, the first one is normal when opening a project that was created in an different version. Once you save it, that will go away.

jdscogin
Mon, 31 Jul 2017 21:10:00 GMT

I have no idea why you are getting the second errors. I have opened several older projects and Fungus has worked flawlessly. Of course, most of my projects are 3D. I will open up an older 2D project and see if I get the same errors.

jdscogin
Mon, 31 Jul 2017 21:44:04 GMT

I did have a strange error. Had to do with the Editor UI. But deleting Fungus Dir and importing it again and no more errors. Do you know what Rotorz is? It looks like the errors are coming from that. It that a Tile system? Looks like that is no longer available. That would be where I would look.

jdscogin
Mon, 31 Jul 2017 21:44:55 GMT

I don't think it has anything to do with Fungus, at least at the point.

jdscogin
Mon, 31 Jul 2017 22:02:35 GMT

hmmm, maybe Rotorz is in Fungus?

jdscogin
Mon, 31 Jul 2017 22:05:54 GMT

Ah, yes, I did a search of Fungus and found editor.ReorerabelList.dll which appears to be related to Rotorz.

jdscogin
Mon, 31 Jul 2017 22:08:07 GMT

But I still don't know why you get the error and I don't.

chrisgregan
Fri, 11 Aug 2017 12:43:08 GMT

If you're using Unity 2017.1, did you click the option to upgrade the DLLs when you import Fungus?

daltronica
Sat, 14 Jul 2018 15:22:41 GMT

Hi guys! Just getting stuck into Fungus and I keep getting the OP's error. And, when I play I get this message: NullReferenceException: Object reference not set to an instance of an object Rotorz.ReorderableList.ReorderableListControl.PrepareState (Int32 controlID, IReorderableListAdaptor adaptor) ...etc.. Can't seem to progress past initial creation of Flowchart. Any developments? Thanks a mill.

next