Search Issue Tracker

Fixed in 2020.3.41f1

Fixed in 2020.3.X, 2021.3.X, 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

Windows

-

Reproduction steps:

  1. Open the attached “WinFormTest” project
  2. Open the “SampleScene” scene
  3. Enter the Play Mode
  4. Exit the Play Mode
  5. 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):

    Fixed in 2021.3.12f1

  2. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.41f1

Add comment

Log in to post comment