Comments (3)
Mhm, could you provide a detailed repo? I just checked starting and finishing Root Flow via Flow Component and it does work properly.
Asset reference had been removed from
RootInstances
inUFlowSubsystem::FinishAllRootFlows
InstancedTemplates
inUFlowSubsystem::RemoveInstancedTemplate
The latter one might not be called if you have a custom logic with calls UFlowAsset::FinishFlow
with the optional bRemoveInstance
parameter set to False.
from flowgraph.
One possible edge case might be that someone managed to add Root Instance for an invalid/empty Flow Asset. I added a guard against it recently. Please try repeating issue after updating to the recent plugin version :)
from flowgraph.
I think I may have found the culprit. I am starting and ending the flow graph using the subsystem, not the component.
If you use FlowSubsystem
-> StartRootFlow
, it will add the instance to RootInstances
Then when the Finish node is called inside the graph, it never removes the instance from RootInstances
.
I fixed it by calling FinishRootFlow
from the subsystem instead of FinishFlow
inside FlowAsset.cpp
, but I have not tested this much to see if there are any issues doing it this way.
Variann/ModularityPractice@3f61fe4
The above repo that is encountering this issue. I just updated to the latest version.
To test it, undo the the changes in the above commit, then:
- Press play, there's a "Selected Graph" at the top left, select
FA_QuestTutorial
. - Press Accept or StartGraph
- Press the B key to "drop" the quest which will call the finish node inside the graph.
- You can not start the graph again after this and
RootInstances
is still referencing the graph, causingCreateRootFlow
to fail.
from flowgraph.
Related Issues (20)
- Component Observer may continue triggering outputs if the last component triggered a finish during UFlowNode_ComponentObserver::StartObserving HOT 3
- Wrong number of newly added output pin on Sequence node HOT 1
- Make LoadRootFlow & LoadSubFlow accessible to Blueprints
- Double-Clicks of Nodes open C++ class. HOT 1
- Play Level Sequence: "Pause at End" does nothing HOT 1
- Unreal Editor Crashing due to custom node HOT 4
- Reroute node does not format correctly when going in reverse HOT 1
- Alignment feature does not work in the FlowGraph HOT 1
- Add to the "Plugin Downloader" HOT 1
- Palette does not indent headers for sub-categories
- Nodes with Context Pins, loose ALL pins on CTRL+Z / can lead to crash HOT 2
- [Question] I'm curious about how you create and release versions different versions of engine all at once? HOT 1
- Create Welcome window when opening editor with Flow Graph for the first time
- Editor bug: drag pin connection HOT 2
- Error in Copy/Paste node HOT 2
- Copy Pasting comments broken in 5.x
- The Discord Server Link in documentation no longer works HOT 2
- [Feature] Usability Improvements HOT 3
- Why can't custom input trigger in subgraphs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flowgraph.