Search Issue Tracker
Duplicate
Votes
0
Found in
2018.4
2019.4
2020.3
2020.3.5f1
2021.1
2021.2
Issue ID
1335576
Regression
No
Crash when entering Play Mode while requesting a URL with a redirect + null download handler + logMessageReceivedThreaded
Reproduction steps:
1. Set up a server that redirects to a file download (example setup for macOS is provided in an edit)
2. Open attached project "1027895-Application.logMessageReceivedThreaded crash" and load "SampleScene"
3. Select the "GameObject" GameObject
4. Set the URL variable in the "Script" component to the one from step 1
5. Begin entering and exiting Play Mode repeatedly
Reproducible with: 2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a17
First lines of the stack trace:
#0 0x007fff7198a33a in __pthread_kill
#1 0x007fff71911808 in abort
#2 0x00000139bce29b in mono_log_close_logfile
#3 0x00000139be148c in monoeg_g_logv
#4 0x00000139be1569 in monoeg_g_log
#5 0x00000139b53b96 in do_mono_metadata_type_equal
Notes:
- Testing 2019.4 and below versions requires to edit the "Script" script to not contain UnityWebRequest.result as that was not available in those versions
- Usually crashes within the first 10 attempts to enter Play Mode
-
Resolution Note (2021.2.X):
The crash is due to a memory corruption caused by an issue in the Unity internal log handler.
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
- Project Browser Icons use the wrong Theme and Users are not shown any indication that process will be deferred when switching Editor Theme in Play Mode
- Streaming is misspelled as "Steaming" in "Enable GPU Streaming" and "Enable Disk Streaming" tooltpis
- "IndexOutOfRangeException" thrown when moving caret left at start of TMP Input Field with rich text
- UIElements memory allocations grow when interacting with IMGUI custom Editor window
- AI Navigation Preferences are not indexed for Search and cannot be found when searching for them in the Preferences Search field
This is a duplicate of issue #1331280