Search Issue Tracker
Fixed
Fixed in 2020.3.41f1, 2021.3.12f1, 2022.1.23f1, 2022.2.0b12, 2023.1.0a15
Votes
0
Found in
2020.3.38f1
2021.3.8f1
2022.1.14f1
2022.2.0b6
2023.1.0a9
Issue ID
UUM-13189
Regression
No
Crash on CallWindowProcW when opening windows form in Play Mode
Reproduction steps:
1. Open the user’s attached project
2. Enter Play Mode
3. Press the “W” key on the keyboard
4. Close the opened dialog box
5. Exit Play Mode
6. Enter Play Mode
7. Press the “W” key on the keyboard
8. Press “Okay” on the opened dialog”
Expected result: Dialog box opens normally
Actual result: Unity Editor crashes
Reproducible with: 2020.3.38f1, 2021.3.8f1, 2022.1.14f1, 2022.2.0b6, 2023.1.0a9
Reproducible on: Windows 10 Pro 21H2
First lines of the stack trace:
{noformat}0x00007FFCAE8AE858 (USER32) CallWindowProcW
0x00007FFCAE8AE3DC (USER32) DispatchMessageW
0x00007FFCAE8C2BF7 (USER32) InitDManipHook
0x00007FFCAF610D74 (ntdll) KiUserCallbackDispatcher
0x00007FFCAD281EC4 (win32u) NtUserCreateWindowEx{noformat}
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
- Build fails with compiler errors when switching scripts GUIDs
- Many references for Animator elements redirect to missing pages
- User gets "EndLayoutGroup: BeginLayoutGroup must be called first." error during Xcode selection canceling
- "Unable to use a named GUIStyle without a current skin" error appears in the Console when entering the Play Mode in a project with specific layout
- [D3D12][XR] SRP Foveation foveated rendering on Windows platform not working when Graphics API is set to D3D12
Resolution Note (fix version 2023.1.0a15):
The patch has been made to the Unity fork of Mono. There is an update to the System.Windows.Forms.dll. To verify the fix the user project needs to be updated. The user project has copies of the System.Windows.Forms.dll and System.Drawing.dll files in the Assets/Packages folder.
You can find updated versions of these dlls in the following path...
$UNITY_INSTALL\Data\MonoBleedingEdge\lib\mono\unityjit-win32
Update the files in the project with the new dlls from an updated Unity install.
Resolution Note (fix version 2020.3.41f1):
The patch has been made to the Unity fork of Mono. There is an update to the System.Windows.Forms.dll. To verify the fix the user project needs to be updated. The user project has copies of the System.Windows.Forms.dll and System.Drawing.dll files in the Assets/Packages folder.
You can find updated versions of these dlls in the following path...
$UNITY_INSTALL\Data\MonoBleedingEdge\lib\mono\unityjit-win32
Update the files in the project with the new dlls from an updated Unity install.