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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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.