Search Issue Tracker
Fixed in 2020.3.41f1
Fixed in 2020.3.X, 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X, 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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 2023.1):
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):
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.