0
Pending Review

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

David Svezhintsev 7 months ago updated by Lazlo Bonin (Lead Developer) 6 months 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:
2.0.0a10
Unity Version:
2019.3.2f1
Platform(s):
Windows
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2 GFI

Duplicates 1

+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.