Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LMB+RMB stops working in scene view with this asset #26

Open
yezNL opened this issue Dec 21, 2023 · 1 comment
Open

LMB+RMB stops working in scene view with this asset #26

yezNL opened this issue Dec 21, 2023 · 1 comment

Comments

@yezNL
Copy link

yezNL commented Dec 21, 2023

I found with Unity 2022.3.f14 and above, that the presence of ReorderableArrayInspector.cs in the project will stop the LMB+RMB from working in the scene view.

This might be related to this fix in f14

I have also reported the bug to Unity.

@yezNL
Copy link
Author

yezNL commented Dec 21, 2023

Unity responded to my bug with the following, in case it is useful for fixing it.

we have found this specific code area in the script to cause the bug:
protected static bool FORCE_INIT = false; [DidReloadScripts] private static void HandleScriptReload() { FORCE_INIT = true; EditorApplication.delayCall = () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; }; }
Specifically, the bug disappears when commenting out this line:
EditorApplication.delayCall = () => { EditorApplication.delayCall = () => { FORCE_INIT = false; }; };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant