Page 1 of 1

[Bug?] Search & Replace null ref exception

Posted: Mon Jan 11, 2021 7:05 am
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!

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

Posted: Mon Jan 11, 2021 10:29 am
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.]

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

Posted: Mon Jan 11, 2021 8:36 pm
by Abelius
I'm attaching it... it seems it works now, thanks!

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

Posted: Mon Jan 11, 2021 8:56 pm
by Tony Li

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

Posted: Tue Jan 12, 2021 10:46 am
by Abelius
No, thank YOU!

Man, you're so fast it's absurd. :lol: