Hello,
My condition node custom methods are generated with the wrong return type on export into Unity when I use a string global variable as a parameter.
Here's what I'm doing:
- On some condition node, I have the custom method SomeMethod(GlobalVar.StringVar)
- On import to Unity, IScriptMethodProvider thinks the return type is void. ArticyScriptFragments also behaves strangely. It's inconsistent, but sometimes part of the generated ArticyScriptFragments methods think the return type is void while others think it is bool, so I receive a compile error. It happen sporadically, so I have trouble recreating it.
- On the same condition node, without changing anything else, I change the method to SomeMethod("StringVar")
- On import, everything is generated perfectly. SomeMethod() has the return type of bool
Unity Version: 2018.4.4f1
Unity Articy Importer: I can't any version info on the plugin, but the Unity package was name ArticyImporter_34886
Articy Draft 3: 3.1.20
Any help or guidance would be appreciated.
Thanks!