[Bug?] Search & Replace null ref exception

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

[Bug?] Search & Replace null ref exception

Post by Abelius »

Hello Tony,

I'm having an issue with the Global Search & Replace feature.

Given this scenario...:

Image
Image
Image

...it works alright if I just do a search:

Image

But if I do a search & replace, it doesn't find the string...:

Image

...and I get this error:

Image

I've attached the error log in full, as a jpg file, because the forum doesn't seem to allow uploading non-picture files. (Edit: it didn't upload the file; maybe you should reconfigure the forum to allow txt files?)

Anyway, if I restart Unity, I can search and replace at first, before it stops working at some point.

Also, and this seems important, it happened when using both "special" characters like <, > and _

If I avoid them, I don't get an error.

Other things to consider (probably):

- I use forward slashes to categorize conversations.
- This also happens pointing to a specific conversation.

I don't know if this is a supposed to be a limitation, but it's weird that it works for a while, after restarting Unity.

Thanks!
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Bug?] Search & Replace null ref exception

Post by Tony Li »

Hi,

Would you please reproduce the error, click on the error message in the Console window, press Ctrl+C (Cmd+C on Mac) to copy it to the clipboard, then paste it into a reply?

I'll check the forum settings and see if I can allow attachment of text files. [Edit: You should be able to attach text files now.]
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Re: [Bug?] Search & Replace null ref exception

Post by Abelius »

I'm attaching it... it seems it works now, thanks!
Attachments
search&replace.txt
(4.6 KiB) Downloaded 37 times
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Bug?] Search & Replace null ref exception

Post by Tony Li »

User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Re: [Bug?] Search & Replace null ref exception

Post by Abelius »

No, thank YOU!

Man, you're so fast it's absurd. :lol:
Unity 2019.4.9f1
Dialogue System 2.2.15
Post Reply