Unity3d opening in background - unity3d

When I start Unity5 (when I open Unity.exe) and select some project, for some reason It starts running in the background and the Editor window doesn't show up. When I check the Task Manager, Unity is running, but as I said it's in background and I can't see any window. It happens with all the projects I've tried. I'm trying now with a fresh install and it keeps happening. This happened previously with Unity 4.6 too.
I'm running Windows 8.1 Pro.
My log: http://pastebin.com/aysjEjJG
What can be causing it?

Related

Unity not loading project if internet is enabled

My computer crashed and since then it has not been opening properly Unity Editor and my projects
Since i have updated unity several times i decided it was time to make a fresh instalation so i uninstalled Unity and Visual Studio, deleted all the unity folders on AppData, and Program Files, then i reinstalled unity 2018.2.5 and Visual Studio
but for some reason it wont load any project nor it will create any new project if my internet connection is enabled, i need to disconnect my computer, launch my unity project, wait for it to load then re enable my internet connection
Any ideas on how to fix this?
Regards...
The issue is likely related to licensing. I recommend checking out Unity's documentation on managing your license.
For starters, try the following once you have Unity running:
Click the Unity drop-down on your toolbar (Help on Windows OS).
Click the Manage License option.
Select "Check for Updates."
You can also try the "Active New License" option.
One way to fix this that worked for me is to uninstall and reinstall unity hub, then create a new project and then try to open it. It should work then.

Weaver failure: unable to locate assemblies (no matching project) for: Temp/Assembly-CSharp.dll

I opened Unity for the first time in a while today and I'm unable to create new scripts of any type. Both the normal and right click menus are missing the option:
Adding a script through the inspector creates a file, but yields these errors:
Although the file is created, it does not appear in either the project browser, or inspector panels.
Googling various parts of these errors actually gets a lot of posts, but almost all of them come down to "restart Unity", which isn't doing anything.
All of this is reproducible for me on a fresh project file. I've tried restarting Unity and my computer, as well as reinstalling Unity from scratch. I've also double checked that I have .NET installed properly (reinstalled, and dotnet command works in terminal).
Unity: 5.4.5p5
Mac OS 10.13.3
This is a bug present in versions between Unity 5.1 and 5.4. It has been fixed in Unity 5.5.0 and an update to 5.5.0 and above should fix it.
If updating to Unity 5.5.0 which has the fix did not fix it then it's better to upgrade Unity to the latest version which is currently Unity 2017.4 at the time of posting this answer. This version should be able to get ride of that error.

Unity apk not working

I made a very simple game, adjusted player settings and external tools. switched platform to android. I can play my game with Unity remote on my phone.
When I build it's installed in phone, but when I launch app to start playing a black screen appears and then closes immediately.
I encountered the same problem as you did with identical logcat message.
If you haven't done so, you should uninstall Unity completely -> restart your computer -> reinstall Unity. That did it for me, hopefully, it works for you as well.

Unity3D is crashing when hitting play – and when Oculus is on

I am using Unity 5.2.2f1 with the Oculus Rift and Windows 7. Everything was working well till... one hour ago. I first ran a build that played smoothly. I then moved away from my computer; when I came back, it was shutting down. Upon turning the computer back on, Unity started to crash anytime I hit play and the Oculus is on. If the Oculus is turned off before I start Unity, everything works perfectly. This is the link to the Unity Editor log.
This is part of the log, where the crash happens:
Completed reload, in 0.636 seconds
Initializing Unity.PackageManager (PackageManager) v5.2.2 for Unity v5.2.2f1
(...)
Native extension for OSXStandalone target not found
Native extension for WindowsStandalone target not found
Native extension for LinuxStandalone target not found
Native extension for WebGL target not found
Native extension for SamsungTV target not found
Native extension for Tizen target not found
Native extension for Android target not found
04/22/16 19:07:47: [CAPI] LibOVR module is located at C:\Windows\system32\LibOVRRT64_0_7.dll
(Filename: C:/buildslave/unity/build/Runtime/VR/Oculus/VRDeviceOculus.cpp Line: 46)
Crash!!!
SymInit: Symbol-SearchPath: 'C:/Program Files/Unity/Editor/Data/MonoEmbedRuntime;.;C:\Users\vcladmin\Documents\maze;C:\Program
(...)
#Programmer, I have used System Restore as you suggested.
The suggested restore point was at an install of "Dell update", right at the time of the crash. Proceeding with the restore, I realized that the NVIDIA driver was being restored from an old version (266), to the newer version (358) (that's the version I need to make the Oculus work). After the restore everything went back to normal. Then I tried to install Dropbox. After the install, the computer turned off again and, like before, once restarting, the Oculus was not working anymore. I checked the Oculus setup and it said it needed a new NVIDIA driver. So something is happening that makes the NVIDIA driver go from 358 to the old one. I don't understand why. What would you suggest?
A friend told me that probably the "Dell Command update" thinks that the new NVIDIA driver is the wrong one, so it restores it to the old one every time it updates. We have disabled automatic Dell Command updates.
Thanks for the help.

Windows Phone SDK 7.1 Emulator Complete Re-boot Error

I thank you all for reading this lengthy question. It's really important and I will appreciate it if you can assist me :)
The problem -------
I am have been using the Windows 7.1 SDK for about two months now. The emulator has worked without any problem so far. However, today, it began displaying this error (The saved state (Name of File).dess is corrupt. Please delete the corrupted saved state file and then retry). I had not made any significant changes to my project code, or moved any files. I had just added some Visual State animations for a button.
As it suggested, I went ahead to delete the file. I then started debugging again. However, the emulator now opened and displayed the message (Windows Phone Emulator is doing a complete OS reboot). This message was displayed for a very long time. I closed the emulator and project. Since then, I have been unable to use the emulator. I am able to code normally in Visual Studio, but I cannot test my application.
What I have tried ------
I read up on this issue and found many others who faced the same emulator issue. Following their suggestions, I have run one repair of the Windows Phone SDK 7.1. I have also tried uninstalling and then re-installing the SDK 7.1 once.
System Specifications -----
I am using Visual Studio Express 2010 for Windows Phone (Windows 7 64 bit)
I have downloaded the Windows Phone SDK 7.1 from this link: http://go.microsoft.com/fwlink/?LinkId=258412
I have read that this issue might be because of some hardware incompatibility. However, I think my machine is compatible with the emulator. Here is some information.
DirectX Version: DirectX 11
8GB RAM
Driver Model: WDM 1.1
Additional Information:
I have read that installing the 'January Update' might fix this issue. I tried downloading the update from this link: http://www.microsoft.com/enus/download/details.aspx?id=23854
However, the installer said that the update is not compatible with the product/version of the product I am using.
Usually the Repair function of the WP7.1 SDK is enough to fix all the issues. It runs the generation of the saved state of the emulator again.
Please try to delete files in %ProgramData%\Microsoft\XDE folder first (make sure you backup them somewhere else.), then run the emulator. If the emulator runs with a message "Windows Phone Emulator is doing a complete OS boot," let it boot. It takes some time though. This way you will know that the emulator actually can run on your computer. This won't generate a new saved state image, but the emulator should at least load.
Next, try installing WP7.1.1 SDK update from http://www.microsoft.com/en-us/download/details.aspx?id=29233. This update also installs additional 256MB emulator image besides the original 512MB image. It also generates emulator's saved states in the process, potentially fixing the issue.
If everything fails, then try these instructions to fix the saved state of the emulator:
Uninstall WP7.1 SDK
Manually delete these folders:
%ProgramData%\Microsoft\XDE
%LocalAppData%\Microsoft\XDE
Install WP7.1 SDK again.
Install WP7.1.1 SDK update: http://www.microsoft.com/en-us/download/details.aspx?id=29233.
Edit:
Btw, have you tried to reboot your computer? Once this fixed the issue for me.
Alright, I managed to solve this problem.
I reinstalled Windows and downloaded the SDK 7.1 again. The emulator works fine now!
#Paulos, thanks for helping!
I had the same problem for a long time. Try this:
Start up Visual Studio 2010, but before you start debugging, click on the tabs of all the open pages so that all the xaml pages and code behind pages can load.
I noticed it when I opened Visual Studio, but the first open page was a code behind page and not an xaml page, so when I first clicked on the tab of a xaml page, of course, it took some time to load the xaml page into the editor. However, when that and one or more open xaml pages were also loaded, the emulator started without the error message.