Search Issue Tracker

Fixed

Fixed in 2021.3.23f1, 2022.2.14f1, 2023.1.0a8, 2023.2.0a11

Votes

1

Found in

2021.3.20f1

Issue ID

UUM-29982

Regression

Yes

Editor crash on "GUIView::OnInputEvent" when calling EditorWindow.CreateWindow from inside OnGUI

--

-

How to reproduce:
1. Open the project “IN_33000”
2. Open the “SampleScene” Scene
3. Enter the Play Mode
4. Press “Test” → “open window 1” → “open window 2”

Expected result: “open window 2” window opens
Actual result: editor crashes

Reproducible with: 2021.3.17f1, 2021.3.20f1, 2022.2.9f1
Not reproducible with: 2020.3.36f1, 2021.3.16f1, 2023.1.0b8, 2023.2.0a6
Fixed in: 2022.2.10f1

Reproducible on: Windows 10 Pro

First lines of Stack Trace:
”0x00007FF6365BAAC2 (Unity) GUIView::OnInputEvent
0x00007FF636069423 (Unity) GUIView::ProcessInputEventFromAPI
0x00007FF6360692F8 (Unity) GUIView::ProcessInputEvent
0x00007FF6365B381E (Unity) GUIView::DoPaint”

  1. Resolution Note (fix version 2023.2.0a11):

    Added a null check so that the Editor doesn't crash when trying to access a window that no longer exists.

  2. Resolution Note (fix version 2022.2.14f1):

    Added a null check so that the Editor doesn't crash when trying to access a window that no longer exists.

Comments (1)

  1. HunterAhlquist

    Apr 03, 2023 14:36

    I have an issue where sometimes changing static settings on a game engine crashes the editor. My bug report said that it was a duplicate of this. Hope it gets fixed soon for 2021!

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.