Articy Forum


https://www.articy.com:443/forum/

Text Extension Cannot Resolve Methods With Periods In Params

https://www.articy.com:443/forum/viewtopic.php?f=46&t=19093

Page 1 of 1

Text Extension Cannot Resolve Methods With Periods In Params

Posted: Tue 3. Dec 2019, 21:40
by FlowFoSure
Hello,

I'm having a problem with Articy Text Extensions. Here's what I'm doing:

- In the text within a Dialogue Fragment, I define the method [SomeCondition("Display this if true.","Display this if false.")]
- In Unity, I have a class which defines SomeCondition(ArticyTextToken arg1, string[] arg2) and calls ArticyTextExtension.AddUserMethod(SomeCondition) in the start method.
- Upon starting the game and traversing to the above mentioned Dialogue Fragment, I receive the following error:
ArticyTextExtension: Could not resolve "SomeCondition("Display this if true" in token "SomeCondition("Display this if true.","Display this if false.")" of expression "...........

ArticyTextExtension doesn't seem able to cope with periods in method parameters. I have tried using an escape, "Display this if true\.", but it doesn't work unfortunately. It should be noted that removing the periods causes the text to display properly.

Is there any workaround for this? Any help would be appreciated!

Thank you!

Re: Text Extension Cannot Resolve Methods With Periods In Pa

Posted: Thu 16. Jan 2020, 22:39
by FlowFoSure
Has anyone else encountered this? A solution, or even a workaround, would be great.

Re: Text Extension Cannot Resolve Methods With Periods In Pa

Posted: Tue 4. Feb 2020, 16:21
by [Articy] Christian Schildt
Hi FlowFoSure,

Sorry for the late reply.
This bug is now fixed and will be available with the next release of the Unity plugin.
Thanks for reporting it.


Best regards,

Chris

All times are UTC
Page 1 of 1