Problem with Unity 2019.429f1, why scene does not appear? - c#

I have a problem in Unity 2019.429f1. No scene opens when Iopen a project. I also can't add a new one or even open SampleScene (nothing happens when I click). enter image description here

Just so there's a clear answer to the question I'll expand my comment a bit. In the screenshot the project window is taking up the entirety of Unitys application space. It could be that the Game and Editor windows were mistakenly dragged off and made standalone windows. Whenever in any application on Windows, I believe hitting control+tilde should cycle through all windows of a particular process (Control+tab cycles through all open applications - made a mistake in the comment).
If there's no luck here, Unity allows a complete reset to the current layout of the editor. On the top right of the Unity application window, there is a drop down titled Layout. Clicking this drop down shows a number of presets. Click any one of these to get the editor window to return to a more normal state.

Related

I'm trying to make a panel on the main screen of the app that will appear every time I start the application. Is it possible to do this in Unity?

I am developing a project in Unity and every time I enter the application I need to create a dynamic panel where the user's tasks for that day will be listed. In other words, when the user enters the platform, this panel will appear once on the main page, but when he comes to the main page again as long as does not leave the platform, the panel will not appear, if he closes the application and opens it again, this panel will appear again. I would be very grateful if you could help me with how to do this.

Trying to detect and gather data on click outside application

I would like to know if it is possible to, while running a WPF window application in Visual Studio, wait for the user to click anywhere on the screen (not necessarily inside the window of my application - for the purpose of my application, the click would most likely occur inside a browser page) and then gather the information about the click (like inside the window of which application the user clicked, or the selector of the html element the user clicked)? I know this question might be very confunsing but this is basically my last resort since researching on the Internet hasn't helped me much. Just to provide a better idea of what I seek, it's like what the 'Extract Structured Data' Activity does in UiPath. Oh and I'm using C# by the way.
You can try and use this external library called GlobalMouseHook.
This library allows you to tap keyboard and mouse, detect and record their activity even when an application is inactive and runs in background.
Here is what you can do with this library:
Mouse coordinates
Mouse buttons clicked
Mouse drag actions
Mouse wheel scrolls
Key presses and releases
Special key states
Hope this helps.

Cursor disappears in Visual Studio 2015

When using Visual Studio 2015 Community Edition my cursor frequently disappears when I perform the Ctrl+. shortcut to resolve missing dependencies. For example, if I am creating a new Entity Framework entity and want to add the [Required] attribute to one of my properties:
Type [Required]. The attribute gets a red squiggly underline.
Click Ctrl+. to bring up the suggested imports
Select the using System.ComponentModel.DataAnnotations option using the arrow keys
Press Enter to select it and import the using statement
Sometimes I can continue coding without any issues. But most of the time my cursor disappears and I have to click back on the code editor to get my cursor back.
It happens to me on several different computers using Windows 7, Windows 8.1, or Windows 10. I've tried resetting my VS2015 configurations to default, but it didn't seem to help. The only other thing I can think of that might be worth mentioning is that I'm use the Dark theme.
Has anyone else experienced this? Is there a setting change so that the editor keeps focus, or a keyboard shortcut to get the cursor back? It isn't the end of the world to use the mouse but I never had to do it in 2013 so it is slightly annoying.
I ran into the same issue, and found that if I went to my mouse properties and changed the default pointer for Text Select to one with white in it, I didn't lose the pointer in the editor. I don't know if this'll solve your issue, but it helped with mine.
I've had this problem as well, for me it seemed to be a glitch with the touch screen capabilities on my laptop. The cursor would disappear when using the track pad and moving into the work area in VS, and come back when I moved it outside to like solution explorer or similar.
Easily resolved by tapping the screen.
I had the missing cursor issue in VS 2015 Community Edition and it turns out the culprit was the Gotomeeting client software running on my desktop. I was accessing VS 2015 in an RDP session and as long as Gotomeeting was running on the desktop running the RDP client my VS 2015 cursor in the RDP session would disappear randomly.
I had the problem that the blinking cursor completely disappeared in Visual Studio 2017 (and probably other places as well). Found this old block post, that helped me:
I found the cause of the problem. I had also noticed that I did not have a text cursor (caret) in programs like Windows Live Mail. Somehow my caret size got changed to zero. The solution in Windows 7 was to go to Control Panel, Ease of Access Center, Make the computer easier to see, and under Make things on the screen easier to see set the thickness of the blinking cursor to 1 (mine was displaying a blank field). After applying the change, the text cursor displayed fine in Visual Studio Editor and Windows Live Mail.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/c7ba185e-1840-4649-984e-c12d5525baa2/cursor-not-visible-in-visual-studio-editor?forum=vseditor
None of the (many across web) posted solutions for the disappearing cursor worked. I found a solution that works for me go to:
Tools/Options/Environment/General/Window layout
there are 2 radio buttons:
Tabbed Documents
Multiple Documents
You must select one or the other. I switched to Multiple Documents and this solved the problem.
Details: this problem manifests when changing the focus to any other open window/application via Alt+Tab. On return, Vis Studio has no cursor visible. Ctrl+Tab is a sorry workaround, yet effective. But this fix is totally sat for me.
Try pressing the "insert" button. You might need to hold down the "fn" key for this.

Visual Studio 2013 C# Designer won't let me move controls

I am working on a project in Visual Studio 2013, and recently I have found that the controls on any form simply refuses to move when I use the mouse to drag and drop. Instead it lets me drag, then as soon as I move the cursor it snaps back into place. Then when I let go, it selects the control the cursor is hovering over.
The keyboard keys work fine, but I don't see why the program has simply changed the rules on me from a convenient system to an annoying and tedious one.
The controls are not locked and the problem effects every form. If it helps, I use Citrix as a thin client on my computer to access school programs.
Hi can you please check the CSS styles
setting:Tools--> Options-->HTML Designer-->CSS styling--> then check
the "Change position to absolute for controls added using toolbox,
paste or drag and drop" check Box.
It should work

C# Visual Studio Open context menus the other way?

Normal context menus in Visual Studio always appear right to the mouse after you open them. Is it possible to make the context menu to appear left to the mouse after it opens? So it actually opens from right to left, instead from left to right.
Hope you know what I mean. (And no, the text in it is NOT meant, just the way the context menu opens) I wasn't able to find anything on that. It's just for aesthetics btw.
This is a new ergonomic feature in the Windows. The Windows check if you are using a touch screen than the Menus will open at the left side the reason is the human hand cover the right side of the clicked/pressed area (mouse pointer does not do that).
--------------------------------------------------Update -------------------------------------------------------------
I found the soultion for your prblem :-) you have to select from Tablet PC Settings the Left Handed, this will solve your problem.
Press the Windows logo key+R to bring up the Run dialog box. In the Open line, copy/paste the following text.
shell:::{80F3F1D5-FECA-45F3-BC32-752C152E456E}
Press OK.
This will start the Tablet PC Settings configuration dialog (Even if you do not have a Tablet PC).
Select the Other Tab.
In the Handedness section, place a check mark in the Left Handed option.
Click OK.
Look to this information from microsoft:
http://answers.microsoft.com/en-us/windows/forum/windows_7-desktop/windows-7-application-menus-drop-to-left-instead/2d362701-90e4-4ea6-a3a1-c1391a3d2bea
Do not forget to mark the answer.

Categories