0
Fixed in Beta

1.4.1b1 testing on the platformer tutorial project yields an error "GraphPointerException: Graph data type mismatch. Found Bolt.StateGraphData, expected Bolt.FlowGraphData."

towercrow 4 days ago • updated by Lazlo Bonin (Lead Developer) 5 hours ago 5

I have a completed tutorial platformer project so I decided to run some tests for the new beta. Everything seems to be working fine but I get this error in levels with enemies present.

GraphPointerException: Graph data type mismatch. Found Bolt.StateGraphData, expected Bolt.FlowGraphData.
[ Enemy (3) > SuperState#3ad27... ]
Ludiq.GraphPointer.GetGraphData[T] () (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphPointer.cs:341)
Bolt.StateGraph.StopListening (Ludiq.GraphStack stack) (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/StateGraph.cs:53)
Bolt.SuperState.StopListening (Ludiq.GraphStack stack) (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/SuperState.cs:65)
Bolt.XGraphEventListener.StopListening (Bolt.IGraphEventListener listener, Ludiq.GraphReference reference) (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Core/Runtime/Events/IGraphEventListener.cs:29)
Bolt.State.StopListening (Ludiq.GraphReference instance) (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.State/Runtime/State.cs:66)
Ludiq.GraphElement`1[TGraph].Uninstantiate (Ludiq.GraphReference instance) (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphElement.cs:45)
Ludiq.Graph.Uninstantiate (Ludiq.GraphReference instance) (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Graph.cs:45)
Ludiq.GraphInstances.Uninstantiate (Ludiq.GraphReference instance) (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/GraphInstances.cs:50)
Ludiq.Machine`2[TGraph,TMacro].UninstantiateNest () (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Machines/Machine.cs:116)
Bolt.EventMachine`2[TGraph,TMacro].UninstantiateNest () (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Core/Runtime/Events/EventMachine.cs:77)
Ludiq.Machine`2[TGraph,TMacro].OnDestroy () (at C:/Users/lazlo/Projects/Bolt1/Package/Ludiq.Graphs/Runtime/Machines/Machine.cs:137)
Bolt.EventMachine`2[TGraph,TMacro].OnDestroy () (at C:/Users/lazlo/Projects/Bolt1/Package/Bolt.Core/Runtime/Events/EventMachine.cs:122)
Bolt Version:
1.4.1b1
Unity Version:
2018.3.0b12
.NET Version:
4.x

Hey TowerCrow, 

This is kind of embarassing, but I just realized I can't find the completed platformer tutorial project anywhere on my hard drive or in my git repos. Can you send it over via Discord or via Private Message on the forum?

Link's in Discord.

+1
Fixed in Beta

Fixed for beta 2.