Here is a script which was not working
#Start
@goto .Word_selection
@stop
#Word_selection
@printer Wide
@print "choice a word"
@choice "AAA" goto:.choice_AAA
@choice "BBB" goto:.choice_BBB
@stop
#choice_AAA
@set t_str1="AAA"
@goto .word_selected
#choice_BBB
@set t_str1="BBB"
@goto .word_selected
#word_selected
@print it is {t_str1}
@stop
it can't print the value of "t_str1".
i have added the "t_str1" into Custom Variables and setted the value as ""
error info
NullReferenceException: Object reference not set to an instance of an object
Naninovel.ScriptPlaylist+<>cDisplayClass9_0.<GetCommandAfterLine>b0 (Naninovel.Commands.Command a) (at Assets/Naninovel/Runtime/ScriptPlayer/ScriptPlaylist.cs:104)