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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0a16