Search Issue Tracker
By Design
Votes
1
Found in
5.1.0f3
Issue ID
710665
Regression
No
[OnFocus] Calling GetWindow inside OnFocus causes crash
Steps to reproduce:
1. Open attached project "GetWindowCrash"
2. Open "Assets/repro.cs" and notice that GetWindow<repro>() is called inside of OnFocus()
3. In Unity press "Tools/repro"
4. Observe a crash
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment