Search Issue Tracker

Fixed

Fixed in 2021.3.36f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7, 2024.1.0a1

Votes

1

Found in

2021.3.33f1

2022.3.14f1

2023.2.4f1

2023.3.0a19

Issue ID

UUM-58734

Regression

No

Crash on mono_log_write_logfile when opening a specific project which has a recursive definition of generic types

--

-

Reproduction steps:
1. Open the attached “Crashrepro” project

Expected result: The project opens
Actual result: The Editor crashes

Reproducible with: 2021.3.33f1, 2022.3.14f1, 2023.2.4f1, 2023.3.0a19

Reproducible on: macOS 14.1.1 (M1 Max), Windows 10
Not reproducible on: No other environment tested

First few lines of stack trace:
{{#0 0x00000193870764 in __pthread_kill}}
{{#1 0x6b538001937b5ae8 in abort}}
{{#2 0x7660002ac9a0208 in monoeg_g_printv}}
{{#3 0x000002ac985620 in mono_log_write_logfile}}
{{#4 0x000002ac9a0420 in monoeg_g_logv_nofree}}
{{#5 0x000002ac9a04dc in monoeg_assertion_message}}

  1. Resolution Note (fix version 2023.3.0b7):

    Fixed via mono pr: https://github.com/Unity-Technologies/mono/pull/1925 -- Recursive value type structures will now be appropriately flagged and a TypeLoadException with reasonably helpful information will be thrown.

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.