Hello,
I’m diving into the PCG world and am wondering about the following issue.
I’ve blueprint where PCG component is added. PCG holds graph and generation is triggered on demand. My assumption is that ‘On Graph Generated’ event should fire only once when ‘Generate’ node is called. Instead, it is fired multiple times. If the blueprint in question is changed, the event will be fired multiple times +1. It’s cumulative.
Using 5.5.4.
Am I missing something fundamental here?
Thanks!
Steps:
- make an actor
- add a PCG component
- add a PCG graph (empty graph will do)
- add ‘On Graph Generated’ event and attach print string
- one way or another make PCG generate
- check the string at runtime
- change the actor blueprint
- check the string at runtime again (now the event should fire more than one time)