Engine menus can only be opened once

It’s quite simple.
Once you open a menu such as project settings and close it, you won’t be able to open it again till you restart the engine, at which point the menus you tried to open, open.

Video

Some additional information that might be useful:
Editor - Unity 6 Preview
Unity Hub - AUR
Distro - Arch
Window Manager - Hyprland
GPU - Nvidia RTX 2080TI
GPU Drivers - 560.35.03 has been happening since 550 and possibly earlier, unlikely to be related

What version of Unity 6 are you using? There was a bug with menus not working when the project contains a lot of custom menu items. This was fixed in 6000.0.3f1. There was also another menu fix in 6000.0.20f1 so its worth updating to the latest version. If this issue is still happening then we will need a bug report as its likely something in your project causing the issue. Unity QA: Building quality with passion

Hey, I installed the latest preview, 19f1, a day or 2 ago.
20f1 doesn’t seem to be available yet, would you like me to test the beta version?


Also, this issue persists across all my projects and the one I showed in the video is a fresh new empty one I just created.

How did you close the window? It looked like it was moved. If you do Windows/Layout/Default does it work again?
I tested windows but couldn’t reproduce the issue.

Could it be the Window Manager app you are using? I suspect its moving the window out of sight.

I close the window by middle clicking the tab with the window name, I avoid using Hyprland binds with Unity for this exact reason.
The window being moved away is a really interesting observation that led me to finding the solution.
Here’s what I get when printing currently open windows:

hyprctl clients

Window 61336f231e20 -> Project Settings:
	mapped: 1
	hidden: 1
	at: 1622,244
	size: 0,0
	workspace: 3 (3)
	floating: 1
	pseudo: 0
	monitor: 0
	class: Unity
	title: Project Settings
	initialClass: Unity
	initialTitle:
	pid: 167334
	xwayland: 1
	pinned: 0
	fullscreen: 0
	fullscreenClient: 0
	grouped: 0
	tags:
	swallowing: 0
	focusHistoryID: 3

It shows that the window is indeed open at the positioned of 1622, 244.
Interesting part is that the size of the window appears to be 0, 0.
Unity is the first piece of software I encountered this with.
Wayland window managers(such as Hyprland) are known to have issues with apps that wanna scale their own windows in a weird way which ends up with windows being set to their min size.
My best guess is that Unity doesn’t have the min window size for Project Settings and other windows, which results in them being scaled all the way down to 0, 0.
Current workaround is setting min window size for these menus:

windowrulev2 = minsize 250 250, class:^(Unity)$, title:^(Project Settings)$
windowrulev2 = minsize 250 250, class:^(Unity)$, title:^(Preferences)$

Simply applying the minsize window rule to all the windows with class Unity didn’t work because a lot of stuff broke.
I am slowly working on the fully Unity fix on Hyprland.
Thanks for pointing me in the right direction!

1 Like