Describe the bug
Copy & Paste causes crashes on a .bundle extracted in memory (CAB-xxxxxxxxxxxxxxxxxxxx), if you Edit Data
To Reproduce
Open a .bundle
Click "Info"
Select a Monobheaviour file
Click "Edit Data" button (will warn the file is huge)
Copy & Paste edited text into the Edit Data window (I edit the text with an external editor like 010 Editor or Cudatext...)
Save clicking "Ok"
"Save As..." the .bundle
repeat from point 2 to 5 (paste the changed text again)
At this point, right after paste, UABEA will crash with this error:
System.NullReferenceException: Object reference not set to an instance of an object.
at TextMateSharp.Model.TMModel.InvalidateLine(Int32 lineIndex) in /_/src/TextMateSharp/Model/TMModel.cs:line 429
at TextMateSharp.Model.TMModel.TokenizerThread.ThreadWorker(Object state) in /_/src/TextMateSharp/Model/TMModel.cs:line 109
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
Expected behavior
Nothing. Eeverything should go on as expected... It crashes instead.
Describe the bug Copy & Paste causes crashes on a .bundle extracted in memory (CAB-xxxxxxxxxxxxxxxxxxxx), if you Edit Data
To Reproduce
At this point, right after paste, UABEA will crash with this error:
Expected behavior Nothing. Eeverything should go on as expected... It crashes instead.
Screenshots
Additional context