Home Creators Posts Import Register Favorites Logout

Content

This episode introduces us to some advanced parsing abilities and a powerful command system to handle all the actions called from our visual novel dialogue files.

Part1

https://www.youtube.com/watch?v=LklHZe_Cye8

Part2

https://www.youtube.com/watch?v=R8EC37qQgqE

Part 3

https://www.youtube.com/watch?v=eVdeAeBHDcg

Part 4

https://www.youtube.com/watch?v=A_qarpKehw8

Intermission / Viewer Request

https://www.youtube.com/watch?v=DpMwILKsE1I

Resources / Scripts

https://drive.google.com/file/d/1pr-YqATrAOIRImKngDN2CG9AELnWjw1c/view?usp=share_link

Files

Visual Novel 2023 (Episode 4).rar

Comments

tanaka

hi! - ive completed part 2 of this episode. ive gotten to the end and as my dialogue is running, i no longer see anything in the console. what can i do to solve this? i copied your dialoguesegmentation with my own name and actual dialogue. - after i updated my testdialoguefiles script and went back into unity (part 3 18:12) i received this error NullReferenceException: Object reference not set to an instance of an object TestDialogueFiles.StartConversation () (at Assets/TESTING/Scripts/TestDialogueFiles.cs:26) TestDialogueFiles.Start () (at Assets/TESTING/Scripts/TestDialogueFiles.cs:14) how can i solve this? - i have also received this warning, Assets\_MAIN\Scripts\Core\TextArchitect.cs(14,17): warning CS0414: The field 'TextArchitect.preTextLength' is assigned but its value is never used thank you for your help stellar studios!

Stellar Studio

First things first, the null reference exception is in the TestDialogueFiles script at line 26. So what is this line? It may be that the text asset is not loaded and is resulting as null. Or an uninitialized value could cause this. Identify that line and the object references that are used in that particular line giving the error, and it will tell you what the issue is. As for the warning in the text architect, it can either be ignored, or that variable can be removed. I believe it was meant to be used, but never was. You can comment out that line and make sure it does not produce an issue. Usually when you see that warning it is because an unnecessary variable can be removed to cleanup the code.

tanaka

thank you so much! i am still unable to see my dialogue in the console, is that something ive done with my settings in unity? ive yet to start part 4