Unity crashes on my PC and I don't know why - unity3d

I was doing a course for learning the platform Unity and how I can make video games, etc..
I have installed the program in my PC, and the installation was correct, but at the time for starting the program, it doesn't end to start and windows told me, "The program stopped working, close it" and always the same.
Someone knows how can i fix it?
Thanks in advance

Try re-installing, checking you've got the latest version and you meet the software's requirements. A printscreen would also help.

Hold down the Alt key and click unity.exe this should let you open or create a new project rather than try loading the one that is crashing.

Related

Unity license error on startup

i'm having an issue at launching unity.
I just install Unity, log-in via google and had that error.
Now, the bug appears with not even login in.
I tried to reinstall, remove registry and it stills happen with not even login in anymore.
There's the link where you can see the bucle it keeps doing.
https://gfycat.com/gifs/detail/AdmiredIcyAmericanwirehair
As you can see it keeps refreshing the license screen like it's trying to load something.
Thank you for any help you can provide.
I finally found a way to fix this problem.
First of all you have to know that the issue was with the license, it didn't activate properly, so it just keeps trying to activate again and again, and that's where the bucle was.
To solve this, i follow some steps made by myself, that came from a lot of research and combining some tutorials for others problems.
The first problem was I log-in only once, the first time I installed. After that I was unable to login again even with reinstall and remove registry. So I couldn't stop the bucle.
To fix that you need to uninstall Unity, remove registry (Ccleaner for example) and remove some hidden directories manually:
C:\ProgramData\Unity
C:\ProgramFiles\Unity or C:\ProgramFiles(x86)\Unity
C:\Users\(username)\AppData\Local\Unity
C:\Users\(username)\AppData\LocalLow\Unity
C:\Users\(username)\AppData\Roaming\Unity
After removing all those files, you can have a clean install of unity, if you don't remove those, it will keeps login in on the same acc and keeping the bucle on.
So, after doing that the bucle will stop and it will let you login again. First problem solved
Now if you log-in the bucle will happen again, so we need to activate the license without login in. And we're doing it with the offline activation.
Unplug your ethernet, disconect from wifi, whatever, just make sure you don't have connection.
Open Unity and check that says "No connection: Quit or Manual Activation".
Click "Manual Activation" and download the License Request.
Close Unity and connect your internet.
Go to the official Unity Manual Activation Page and upload your Request File.
Download the aproved license, it will request you an Unity account.
Unplug again the internet and open Unity on offline mode.
Click "Manual Activation" and upload the Aproved License.
Make sure you have now access to Unity on offline mode and close it.
Second problem solved: License activated.
Now you only need to connect again your internet, then open Unity and you will see an activated license without login-in, so you can now log-in with the account you used on step 6.
And now the problem is solved. You have the activated license and you're logged-in.
It tooks me like "2 days" to make this solution for this poblem, hope i can help someone with this tuto and save ur time.
1- exit from unity
2- go to C:\ProgramData\Unity
3- remove Unity_lic.ulf
4- open unity
5- reactivate the license
and it work.
Just delete the unity_lic.ulf found in program data and open unity and it will works!
Ok, so what I did was extremely simple. I just selected the re-activate button I found on the right and then I followed the instructions or better, I answered the questions. I selected Unity Personal and since I don't work, I use it as a hobby I selected "I don't use Unity in a professional way". Then, I just pressed the button on the screen and then Unity worked perfectly fine.

Unity3d crashes when trying to change platform or building after upgrading to win10

http://prntscr.com/cfakce this is what happened when I'm entering any script, when I'm changing to mobile input this show up http://prntscr.com/cfalpw.
Whenever I'm trying to build the project or changing platform it crashes.
I changed my win7 to win10 (had to) and I think it may screwed my project but I'm not really sure, tried to search on Google for those errors and found nothing.
Someone told me on the Unity forum that it had something to do with UnityEditor but didn't had really idea how to fix it.
When I had win7 (before the change) everything worked perfectly fine.
Any ideas?
Unity version: Unity 5.4.0f3 (64-bit) thought it might help.
new: When I'm writing using at the start of any script it doesn't complete it to Unity.Engine or Unity.Editor it doesn't even have this option, like it got deleted or something. How do I bring back those Unity.editor and engine? I think it's the real problem :)
Another thing is that when I got win10 the C drive is now F and I've got new SSD drive which is the new C, everything stayed on the C drive but they didn't work or was used perfectly, so I redownloaded everything like Skype, steam, Origin and of course UNITY, the project folder I dragged to my desktop and then opened the game folder on this Unity I downloaded, I think that's what made the problem because when i enter Unity and press open, and going back to F drive>users>myname>dekstop>UNITY>mygame and open it in that path instead of what i have dragged (which it the same folder but on different place) it let me switch platform, does not let me build but at least it's not crashing just giving me the same errors without crashing, i don't know if this has something to do with but just gave the info cause maybe you will find this helpful to help me.

unity 5.4 apk installed but won't open

Okay, so basically I build my game in unity, saved it in a folder and drag the file in a folder on my phone, made sure unknown source was checked and installed it on my phone.
However when I open it it shows the unity splash page but then it closes for some reason I do not know, I searched it up tried all different resources but nothing worked, it still did the same thing, I tried it out on my brother's mobile and it worked fine for him (it didn't close and it let him play my game).
It just doesn't work on mine. I'm using unity 5.4
Can anyone help me with this problem?
Okay problem has returned agian
Thank you. :)
Try to uninstall all the previous version of the app from your Phone and then try to re-install it.
If the above plan didn't work, Change the build settings in Unity from Prefer External to Automatic,
I hope this will help you...
my problem got resolved by deleting the android manifest file and then building again.
I hope this will help for people like me in future.
P.S : for me manifest was located at plugins/android/androidmanifest.xml

Unity updating licence takes a long time and doesn't start?

I got Unity 5.3.0 from the Unity official website ,I installed it,
while running it ,I Signed-in using my Username but it gets stuck in the "Updating License" Window
can anyone help me with that ?!
thanks in advance
It happened for me twice for now. As Sean Powell was saying, you should close and reopen the application few minutes later. I think it's a problem with the license server connection.
Have you tried uninstalling and reinstalling? or restarting the application?
I had this problem too. Don't waste your time with unistall-reinstall. Close Unity, delete Unity_v(your unity version).ulf file in "C:/ProgramData/Unity", and reopen Unity. This should solve your problem.

why I can't record javascript in automation of instruments when target is my pad(4.3.3)

I am a rookie to automation in instruments. I have been coping with this tough problem for several days, but nothing productive happen.
Here is the problem: when I begin to click the record btn below script window, what I get is "script capture is not available on this device" , and I can't go further because the record process comes to the end. any suggestion? I will definitely appreciate your helps.
Thank you in advance!
I upgraded the iOS version which solved my problem.
If your project build settings supports 5.X versions and you have a device with iOS 4.x, when you try to record the script in Automation instrument, you will face the above problem.
Therefore upgrade your iOS to the version your project supports.