-
Notifications
You must be signed in to change notification settings - Fork 86
Tips and Frequent issues
Daniel Butum edited this page Jul 16, 2020
·
2 revisions
You need to have Visual Studio installed properly https://docs.unrealengine.com/en-US/Programming/Development/VisualStudioSetup/index.html
Then you can just open the project and the plugin will compile.
- The collision is not handled properly, so the other actor does not get the collision overlap event - you can validate it e.g. via printing something in the overlap begin function.
- Your character / controller is not setup properly and some cast fails and the dialogue does not started at all. Way to check: e.g. place a print just before the node which starts the dialogue.
- You provide the wrong data to the dialogue or the dialogue asset itself isn't setup properly - if this is the case you will have some warning or error from the dialogue system in output log.
- You can check dialogue variables in game side using the interface function:
- Using anything Random inside a condition can lead to undefined behaviour. The dialogue system expects a single condition to return with the same value during the
ChooseChild()
call - in some case conditions can be called multiple times. - If a node was visited or not is not something you can safely check outside of a dialogue (because the index can change, and that can only be fixed internally). If you need this information use e.g. a bool variable instead.