Search Issue Tracker

Fixed

Fixed in 2020.3.41f1, 2021.3.12f1

Votes

0

Found in

2020.3.40f1

2021.3.11f1

Issue ID

UUM-20801

Regression

No

Editor sometimes crashes when creating a new Windows form window

--

-

Reproduction steps:

# Open the attached “WinFormTest” project
# Open the “SampleScene” scene
# Enter the Play Mode
# Exit the Play Mode
# Repeat steps #3 and #4 five times

Expected result: No errors or crashes
Actual result: Error pops up “Could not register window class, win32 error 127”, closing which results in a crash

Reproducible with: 2020.3.40f1, 2021.3.11f1
Not reproducible: 2020.3.41f1, 2020.3.42f1, 2021.3.12f1, 2022.1.23f1, 2022.2.0b16, 2023.1.0a21

Reproduced on: Windows 10

First few lines of stacktrace:
0x000001D9675503A6 ((<unknown>)) (function-name not available)
0x000001D9D73AB60B (Mono JIT Code) System.Windows.Forms.Control:.ctor ()
0x000001D9D73AAEC3 (Mono JIT Code) System.Windows.Forms.ScrollableControl:.ctor ()
0x000001D9D73AAC53 (Mono JIT Code) System.Windows.Forms.ContainerControl:.ctor ()
0x000001D9D73AA543 (Mono JIT Code) System.Windows.Forms.Form:.ctor ()

  1. Resolution Note (fix version 2021.3.12f1):

    Fixed in 2021.3.12f1

  2. Resolution Note (fix version 2020.3.41f1):

    Fixed in 2020.3.41f1

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.