Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

2019.4

2019.4.16f1

2020.1

Issue ID

1367712

Regression

No

Crash on MoveSmall when using TextAsset's text property on a big text file

Mono

-

How to reproduce:
1. Open the user's attached project
2. Enter Play Mode

Expected result: Editor enters Play Mode and TextAsset.text returns the contents of the text file
Actual result: Editor crashes

Reproducible with: 2019.4.31f1, 2020.1.0a15
Not reproducible with: 2020.1.0a16, 2020.3.20f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12

Notes:
- Also crashes when selecting the text file in the Project window
- The text file is over 1.4 GB and the Editor no longer crashes after reducing the size of the file

Stack trace:
0x00007FFD62EC91F8 (mono-2.0-bdwgc) MoveSmall
0x00007FFD62C6D06E (mono-2.0-bdwgc) mono_string_new_len
0x00007FF623563F67 (Unity) MonoStringNewLength
0x00007FF6235AA903 (Unity) scripting_string_new
0x00007FF62374E6FB (Unity) TextAsset_Get_Custom_PropText
0x00000273D2EF95B3 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TextAsset:get_text (UnityEngine.TextAsset)
0x00000273D2EF93B3 (Mono JIT Code) Script:Start ()
0x0000027462AA7668 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFD62CDD6D0 (mono-2.0-bdwgc) mono_jit_runtime_invoke
0x00007FFD62C62932 (mono-2.0-bdwgc) do_runtime_invoke
0x00007FFD62C6B98F (mono-2.0-bdwgc) mono_runtime_invoke
0x00007FF6235A8F4E (Unity) scripting_method_invoke
0x00007FF6235A2C7D (Unity) ScriptingInvocation::Invoke

  1. Resolution Note (fix version 2020.1):

    Fixed in: 2020.1.0a16

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.