Pending Review

a10: Unity freeze / crash when pasting large text in any search bar

David Svezhintsev 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 1 1 duplicate

If you copy a node (timer unit specifically, but I'll bet it's any node) and paste right away into the Explorer search bar, Unity stops responding and it memory leaks.

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2 GFI

Duplicates 1

Pending Review

Hi David,

Thanks for the report and sorry for the late reply.

I believe your terminology may be a bit off (it's not a memory leak per se) but there's definitely a crash due to resource usage.

My hypothesis is that an extremely long string is being pasted in the search box, and that Bolt tries to run all possible permutations on that string, which is extremely intensive. I'll look into adding proper caps for these cases.