v1.0.3
This release adds bug fixes and some small quality-of-life improvements. In particular, a bug that could cause the string tables for a node to not load correctly has been fixed. Thanks to all who reported it!
Yarn Spinner is made possible by your generous patronage. Please consider supporting Yarn Spinner's development by becoming a patron!
Added
- The compiler will now reject node titles that contain an invalid character. Invalid characters for node titles are:
[
,]
,{
,}
,|
,:
,#
,$
, or spaces. - Added some parser tests for working with node headers.
Changed
- Fixed a bug where the Dialogue UI component in Unity would not actually send any commands to the 'On Command' event.
- Command handlers will now look for command handlers added via
AddCommandHandler
first (which is faster), followed by commands registered using theYarnCommand
attribute (which is slower). - When writing an option (for example,
[[Hello!| Greeting ]]
), any whitespace around the node name (Greeting
) will be discarded. This fixes a bug where Yarn Spinner would try to go to a node named "Greeting
", but spaces in node names aren't allowed. (#192) - Fixed a bug where a null reference exception would be thrown the first time a new Yarn file's Inspector is drawn. (@Schroedingers-Cat)
- Made string table CSVs always be read and written in the Invariant culture. Previously, locale differences would lead to parsing failures. (#197)
- Disabled 'this field is never assigned to' warnings for certain files in the Unity version (they're assigned in the Editor, which the compiler doesn't know about.)