Extension (2.4.10+) Crashes on Init when calling DialogueRunner.AddFunction()
with an instance method
#55
Labels
bug
Something isn't working
What is the current behavior?
When DialogueRunner.AddFunction<>() is called with an instance method, the extension crashes during initialization.
Please provide the steps to reproduce, and if possible a minimal demo of the problem:
Include this CustomExtensions.cs in your project
And a sample yarn file:
Open the .yarn file and observe the following error logs (one in a popup, one in the yarnspinner plugin console): https://pastebin.com/X29QAW6Z
What is the expected behavior?
The yarn extension loads and I can ctrl+click into Sub2 and jump to the implementation
Please tell us about your environment:
Other information
https://pastebin.com/X29QAW6Z
The text was updated successfully, but these errors were encountered: